[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.2.0 (beta-rc1) now available
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 16 Jun 2011 10:53:57 -0300
> > My vote would be for "label foo" or "foo::". The symmetry looks a bit
> > ugly to me IMO and looks like it should be some kind of expression
> > (e.g. |foo| is commonly written in text to mean math.abs(foo)), and !
> > and & just seem confusing when they mean different things in other
> > languages.
>
> This would be my preference too. Out of interest, would the grammar
> unambiguously support "stat ::= (label | goto) Name" without having to
> make label and goto into keywords?
Probably (because there are no other meanings for "name name" and Lua's
parser has full computational power), but it would be messy.
-- Roberto
- References:
- Re: [ANN] Lua 5.2.0 (beta-rc1) now available, Frank Meier-Dörnberg
- Re: [ANN] Lua 5.2.0 (beta-rc1) now available, David Kastrup
- Re: [ANN] Lua 5.2.0 (beta-rc1) now available, Frank Meier-Dörnberg
- Re: [ANN] Lua 5.2.0 (beta-rc1) now available, Eduardo Ochs
- Re: [ANN] Lua 5.2.0 (beta-rc1) now available, Frank Meier-Dörnberg
- Re: [ANN] Lua 5.2.0 (beta-rc1) now available, David Given
- Re: [ANN] Lua 5.2.0 (beta-rc1) now available, Roberto Ierusalimschy
- Re: [ANN] Lua 5.2.0 (beta-rc1) now available, phlnc8
- Re: [ANN] Lua 5.2.0 (beta-rc1) now available, HyperHacker
- Re: [ANN] Lua 5.2.0 (beta-rc1) now available, Peter Cawley