I enjoy lua for long time as a scripting language to do various tasks including shell scripting. However, I was tired of it’s syntax in some areas (such as defining closures). Now, moonscript (https://moonscript.org/) comes to the rescue for me. It has a nice tight syntax for function calls (without parens), table/list comprehensions, class/object stuff etc.. It’s transpilation process is very transparent and it can be directly integrated into the full lua eco-system. Although it is version 0.5 - so far I’m very happy with it, regarding stability and it is fun to experiment with it. You can compare moonscript with what ‘coffeescript’ does for ‘javascript’.
I enjoy lua for long time as a scripting language to do various tasks including shell scripting. However, I was tired of it’s syntax in some areas (such as defining closures). Now, moonscript (https://moonscript.org/) comes to the rescue for me. It has a nice tight syntax for function calls (without parens), table/list comprehensions, class/object stuff etc.. It’s transpilation process is very transparent and it can be directly integrated into the full lua eco-system. Although it is version 0.5 - so far I’m very happy with it, regarding stability and it is fun to experiment with it. You can compare moonscript with what ‘coffeescript’ does for ‘javascript’.