I found this compiles-to-Lua language recently called MoonScript [1], which is inspired by CoffeeScript [2]. I thought it would be pretty interesting to get it to work with MUSHclient, and it's really easy. If you just throw the "moonscript" directory from the project into MUSHclient/lua/, you can require("moonscript") from your script file or plugin and it'll make ".moon" versions of the package.path paths. Then you can require("foo") and if there's a foo.moon in scope it'll compile it to Lua on the fly. So it's extremely easy to use.
I figured I'd mention it here in case someone else wants to try it out. It might be nice to see MUSHclient ship with Moonscript one day, since it's not that large. Its only relevant dependency is lpeg, which we already have.
[1]: http://moonscript.org/
[2]: http://jashkenas.github.com/coffee-script/
I figured I'd mention it here in case someone else wants to try it out. It might be nice to see MUSHclient ship with Moonscript one day, since it's not that large. Its only relevant dependency is lpeg, which we already have.
[1]: http://moonscript.org/
[2]: http://jashkenas.github.com/coffee-script/