lua-users home
lua-l archive

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

On 2/20/08, Hans Hagen <> wrote:
>  but since the reference states that
> as syntactic sugar for a["name"]
>  i'd expect the parser to recognize such cases; isn't this tricky with
>  repect to future extensions (read: new keywords) being used in scripts
>  as keys already?

the reference also states that "keywords are reserved and cannot be
used as names".  that's why the Lua designers are so reluctant to
introduce new keywords.