lua-users home
lua-l archive

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


On 25.07.2017 06:17, szbnwer@gmail.com 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