lua-users home
lua-l archive

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


> 1) A soft keyword that can be used as an identifier in all places
> where identifiers are accepted. Soft keywords are not hidden by
> variables of the same name (they occur in the grammar at places where
> no identifier is allowed).

Lua used that scheme for the "in" keyword in Lua 4.0: although it was listed
as a hard keyword in the manual, it was implemented as a soft keyword.
 
If you want to experiment with syntax changes in Lua, try metalua or
token filters. See http://lua-users.org/wiki/MetaProgramming