Skip to content
MoonScript compiled to JavaScript with Emscripten http://moonscript.org/compiler
JavaScript CoffeeScript CSS HTML C Makefile Shell
Find file
Latest commit 738cf2e @leafo add deploy command

README.md

MoonScript for JavaScript

This is a version of MoonScript that has been compiled to JavaScript using Emscripten.

About

The Lua source code of MoonScript is concatenated into a single file which is converted to a header using xxd. This is included a C file along with Lua and LPeg which are then compiled into LLVM bitcode. Finally the entire thing is linked and fed into Emscripten to create a JavaScript file.

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.

Something went wrong with that request. Please try again.