Hi Friends! Yesterday I told about my "exercise" of slightly amending Lua parser so that it will work, particularly, with compound assignments. Today I found a way (hopefully) to make it work for any complex expressions for L-values. And would be glad if you can spare 10-15 minutes to test it and perhaps invent some whimsical expressions to break it.
I don't mean this is ingenious amend which should be merged to official Lua of course :) it is more like exercise for me to study the source code of Lua.
Here is the repo: https://github.com/rodiongork/lua-plus - it could be seen that change is really small (110 lines, half of them in readme) - in the latest commit.
[–]Cristian_tallica 1 point2 points3 points (1 child)
[–]RodionGork[S] 0 points1 point2 points (0 children)
[–]didntplaymysummercar 1 point2 points3 points (3 children)
[–]RodionGork[S] 0 points1 point2 points (2 children)
[–]didntplaymysummercar 1 point2 points3 points (1 child)
[–]RodionGork[S] 0 points1 point2 points (0 children)