Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
So although if I ever had to code for Lua I'd definitely consider Moonscript, I'd obviously prefer to just write even a subset of Python that compiles to Lua. This project could be promising for that: https://github.com/dmitrii-eremin/python-lua
Maybe most of them are also small projects, but there are a lot of projects that compile other languages to Lua: https://github.com/hengestone/lua-languages .
Unless Luathonistas have no better way of accomplishing the same thing, or if Moonscript just compiles to bad Lua, the examples (https://moonscript.org/) seem compelling - Moonscript's definitely a great deal more readable than Lua. If typical Lua code is really that unreadable, no wonder it's niche. Moonscript's colons and => seem a little confusing and quirky. But if Moonscript can be zero-indexed, I'm sold