lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Wed, Jun 15, 2011 at 12:25, Michael Rose <michael.h.rose@web.de> wrote:
> @name>        Means the same as "goto name" in the Beta release. On the one hand this is more
>                      symmetric in my eyes, because both extensions use an '@' sign and I think it is a
>                      good idea to have labels and gotos stich out of the code a bit. Note that the lexer
>                      fetches the ':' and
>                      the '>'.

@>name would be easier to parse. Otherwise, the parser has to fetch
the @ sigil, then the name, and only then the final sigil that
determines the branch to take.