Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reimplement Index assignments #3

Closed
Vurv78 opened this issue Jun 12, 2022 · 1 comment
Closed

Reimplement Index assignments #3

Vurv78 opened this issue Jun 12, 2022 · 1 comment
Labels
A-Parser Area: Parser P-5.1 Parity with Lua 5.1 P-5.2 Parity with Lua 5.2 P-5.3 Parity with Lua 5.3 P-5.4 Parity with Lua 5.4 P-JIT Parity with LuaJIT 2.1+ T-Feature Feature request

Comments

@Vurv78
Copy link
Owner

Vurv78 commented Jun 12, 2022

iirc in the past I allowed for any expression to precede variable assignment so stuff like _G["foo"] = 55 "worked". Currently this isn't the case so the readme example actually doesn't parse.

Need to actually have this work by allowing for indexing by checking for an indexing operation for every identifier since stuff like this is possible.

_G["bar"], _G.foo = 55, 40
print(bar, foo) -- 55, 40
@Vurv78 Vurv78 added the T-Feature Feature request label Jun 12, 2022
@Vurv78 Vurv78 changed the title Reimplement Index setting Reimplement Index assignments Jun 12, 2022
@Vurv78
Copy link
Owner Author

Vurv78 commented Jun 12, 2022

Hopefully resolved by 231a6b8

@Vurv78 Vurv78 closed this as completed Jun 12, 2022
@Vurv78 Vurv78 added P-5.1 Parity with Lua 5.1 P-5.2 Parity with Lua 5.2 P-5.3 Parity with Lua 5.3 P-5.4 Parity with Lua 5.4 P-JIT Parity with LuaJIT 2.1+ A-Parser Area: Parser labels Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Parser Area: Parser P-5.1 Parity with Lua 5.1 P-5.2 Parity with Lua 5.2 P-5.3 Parity with Lua 5.3 P-5.4 Parity with Lua 5.4 P-JIT Parity with LuaJIT 2.1+ T-Feature Feature request
Projects
None yet
Development

No branches or pull requests

1 participant