lua-users home
lua-l archive

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

On Wed, Mar 9, 2011 at 09:06, Steve Litt <> wrote:
> This is the first surprising behavior I've ever seen in Lua. I would have
> expected it to know that mytable.end is a table element whose name happens to
> be "end".

Implementing such behavior might be possible but it will make
parser/lexer more complicated and could alter Lua grammar.
Out of curiosity, are there languages around that allow keyword tokens
to be used as variables, strings, etc ?