lua-users home
lua-l archive

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


On 25.07.2017 06:17, [email protected] wrote:
then just
var ::=  Name | tableconstructor ‘[’ exp ‘]’ | prefixexp ‘[’ exp ‘]’ |
prefixexp ‘.’ Name
:D

i think the complexity of implementation is the real question here

You can look at my existing implementation for Lua 5.2

http://lua-users.org/wiki/ThomasJericke
http://lua-users.org/files/wiki_insecure/power_patches/5.2/optbrackets-5.2.2.patch

Second time in a short while I post this, but this time it is really appropriate.
--
Thomas