lua-users home
lua-l archive

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


Imho this wouldn't really make sense in a minimalistic language such as Lua. It may also slightly decrease readability for some.

On Mon, Mar 14, 2016 at 8:00 AM, Dirk Laurie <dirk.laurie@gmail.com> wrote:
2016-03-14 6:57 GMT+02:00 Xpol Wan <xpolife@gmail.com>:
> Is it possiable in future Lua version to allow table.keyword like
> `promise:then()` .

1. Should the syntax highlighter in gvim, kate, etc treat 'then' as
an identifier or as a keyword?

2. What benefit, large enough to justify the considerable increase
of compilation complexity, is to be gained?