Today marks MoonScript version 0.2.3, the CoffeeScript inspired language that compiles to Lua. It’s been about 3 months since last release. I've got a couple new features, fixes, Lua 5.2 support and a backwards incompatible change.
You can follow me on twitter for updates or complaints. Also if you're using MoonScript I'd love to hear about it: leafot@gmail.com.
continue keyword to filter out
iterations you don’t want to keep. Read more here.moonscript module no longer sets a global value for moonscript and
instead returns it. You should update your code:moonscript = require "moonscript"
when clause can take multiple values, comma separated.local * (and local ^) for hoisting variable declarations in the current scope.03, are correctly parsedfold library functionlocal * nowMoonScript has made its way into
GitHub. .moon files should
start to be recognized in the near future.
I've started a couple interesting projects for MoonScript as a web programming language.
cloud_storage — A MoonScript/Lua
module for interacting with Google Cloud Storage.Using the following I've created a community powered Lua rock hosting website called MoonRocks:
http://rocks.moonscript.org. (source)
Compiled MoonScript runs inside of the nginx distribution OpenResty. I created a created a Lua rock for running OpenResty on Heroku in conjunction with my Heroku Lua buildpack.
Ludum Dare happened again, two games were created in MoonScript:
Additionally, Michael F has created a game engine, BoxEngine, which natively supports MoonScript.
Thanks to everyone who provided feedback for this release. See you next time.
leafo.net · Generated Tue Dec 16 16:18:13 2025 by Sitegen mastodon.social/@leafo