The Lua source code of MoonScript is concatenated into a single file which is
converted to a header using
xxd. This is included in a C file along with Lua and
LPeg which are then compiled into LLVM bitcode. Finally the entire thing is
A simple HTML page creates the worker to provide an web interface for compiling and running MoonScript.
Check it out at http://moonscript.org/compiler.