4 ms·
Odd to suggest that if they're interested in Lua, that they should check out Moonscript which is a different language altogether (although it compiles to Lua).
by pull_my_finger 4y ago
Odd to suggest that if they're interested in Lua, that they should check out Moonscript which is a different language altogether (although it compiles to Lua). But if you insist, something a little more Lua-ish is Teal[1] (gradual types ala TypeScript) or Pallene[2] (companion typed subset of Lua meant to generate optimized C libraries for use with Lua).
[1]: https://github.com/teal-language/tl https://github.com/teal-language/tl
[2]: https://github.com/pallene-lang/pallene https://github.com/pallene-lang/pallene
- Benjamin_Dobell 4y agoThere's also my IDE which just bolts on types (both structural and nominal) to regular Lua - no transpiling as the types are defined with comments (or inferred). https://github.com/Benjamin-Dobell/IntelliJ-Luanalysis/ https://github.com/Benjamin-Dobell/IntelliJ-Luanalysis/ Unfortunately, I haven't been able to give it as much attention as it deserves recently.