[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] Lua 5.2.0 (beta-rc1) GOTO
- From: Pierre-Yves Gérardy <pygy79@...>
- Date: Wed, 15 Jun 2011 16:20:45 +0200
On Wed, Jun 15, 2011 at 12:25, Michael Rose <firstname.lastname@example.org> 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.