Is there any project trying to wrap the Lua with some ruby-like sugar just like what CoffeeScript do to javascript?
I think that will be fun since Lua's syntax is ... not so sweet i think.
MoonScript is a new language that compiles to lua with syntax inspired by CoffeeScript
Language reference with more examples:
http://moonscript.org/reference/
You should have a look at Metalua. It allows you to modify the Lua syntax to your heart's desire, while generating Lua bytecode as a result.
I am not sure there are Ruby-style extensions, but you can get inspiration from pythonic, which makes the syntax more Python-like.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With