[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LUA fails to parse expression with big and nested lists.
- From: Родион Горковенко <rodiongork@...>
- Date: Fri, 6 Oct 2023 08:59:08 +0300
Perhaps, provide a small straightforward example please? E.g. here are
7 nesting levels
b={{{{{{{5}}}}}}}
for i=1,7 do b=b[1]; print('level #' .. i, b) end
and it looks like working in 5.4.6
https://rodiongork.github.io/lua-emcc/#b64:Yj17e3t7e3t7NX19fX19fX0KZm9yIGk9MSw3IGRvIGI9YlsxXTsgcHJpbnQoJ2xldmVsICMnIC4uIGksIGIpIGVuZA==
But most probably I failed to grasp where or under which conditions
"parsing" fails?
Thanks in advance!
> I've faced the case of inability to parse the big and nested tables.
> Unfortunately only 5 nesting levels may be parsed for sure, which seems
> to be too little for so wonderful language as Lua is :-)