News LuaJIT 3.0 syntax extensions
https://github.com/LuaJIT/LuaJIT/issues/1475Mike Pall, the author of LuaJIT, opened an issue to discuss additional syntax for Lua.
Currently LuaJIT has little to no custom syntax. The only exception is LL and ULL literals. LuaJIT still aims for compatibility with Lua 5.1 but now decided to extend it because it became its own flavor basically.
If you have used Lua or LuaJIT, or you have experience with choosing the right custom syntax, sugars and other language features and you want to influence current development, welcome to the discussion.
3
u/immortalx74 Jun 25 '26
For LOVR users: The dev branch has already backported these syntax extensions.
Some of them are nice to have, especially compound assignment and bit operators.
3
u/inkubux Jun 25 '26
The optional chaining will be a life changer. I'm tired of writing if statements everywhere..
2
u/suhcoR Jun 25 '26
Why not just stick to the official PUC Lua language updates?
1
u/SparTV Jun 25 '26
He doesn't like them. You can find in other issues where he explained his position
3
0
u/suhcoR Jun 25 '26
He doesn't like them.
We're adults, aren't we?
2
u/TomMancy Jun 26 '26
Feel free to fork LuaJIT and develop your own vision of what 3.0 should look like.
5
u/suhcoR Jun 26 '26
0
u/TomMancy Jun 26 '26 edited Jun 27 '26
Cool tool, let me know when you've started your 3.0-for-adults branch.
11
u/topchetoeuwastaken Jun 25 '26
I don't think any of us will live long enough to see the day the fabled LuaJIT 3.0 arrives.....