lua-users home
lua-l archive

Re: [ANN] Lua 5.2.0 (beta-rc1) now available

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


Quoth Roberto Ierusalimschy <roberto@inf.puc-rio.br>, on 2011年06月15日 14:29:44 -0300:
> Thanks :)
> 
> This time, however, we would like feedback about the syntax for labels,
> because of the small incompatibility of the '@' with filenames. (Note
> that "local name" and anything similar that mixes gotos with variables
> is not a *syntax* for labels and is completely out of our plans.)
As a small data point, I've previously used @ as an extendo character
for various local syntactic extensions that get preprocessed into
plain-Lua source underneath. (I dealt with the source name ambiguity
in another way that I don't immediately recall.) This isn't anything
particularly active or visible right now, but it would be an extra
change if I decided to port to Lua 5.2 and @ were now a label prefix.
I vote for some sort of double-colon marker.
 ---> Drake Wilson

AltStyle によって変換されたページ (->オリジナル) /