lua-users home
lua-l archive

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


On Tue, Aug 12, 2014 at 3:38 PM, Geoff Leyland
<geoff_leyland@fastmail.fm> wrote:

> If it helps understand, it’s legal to set 'table[“this has spaces”]', but 'table.this has spaces’ obviously won’t work.  Table keys can be pretty much anything (strings, numbers, tables, functions), but you when you’re using the ‘.’ notation you can only use keys that parse as identifiers.

What we need is Roberto to jump in explaining how to modify llex.c in
Lua's source so you can use 'é' and other extended ASCII in the table
shorthand form -- table.identifier is sugar of course :3