/metajs

Visualize your Javascript with a CPS metacircular interpreter.

Primary LanguageCoffeeScriptMIT LicenseMIT

metajs

A CPS Javascript metacircular interpreter that visualizes script execution.

Written in IcedCoffeeScript. Uses Esprima for the parser and CodeMirror for the front-end.

Setup

npm install
npm install -g browserify@1.17.3 iced-coffee-script@1.4.0-c

Usage

To start the REPL:

./repl.coffee

To execute a file:

./repl.coffee [filename]

To run in the browser:

make browser
cd browser
python -m SimpleHTTPServer

Then point your browser to http://localhost:8000/.

Testing

make test

Contributors