metajs
metajs copied to clipboard
Visualize your Javascript with a CPS metacircular interpreter.
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 [email protected] [email protected]
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