All Projects → leafo → moonscript-javascript

leafo / moonscript-javascript

Licence: other
MoonScript compiled to JavaScript with Emscripten

Programming Languages

javascript
184084 projects - #8 most used programming language
coffeescript
4710 projects
CSS
56736 projects
HTML
75241 projects
c
50402 projects - #5 most used programming language
Makefile
30231 projects
shell
77523 projects

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 in 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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].