brandly-lisp
v0.8.2
Published
it's a lisp interpreter
Downloads
8
Readme
lisp.js
with inspiration from @maryrosecook's little lisp interpreter and norvig's lispy
don't use this for anything that matters pls
$ npm install --save brandly-lisp
usage
use it with node
var Lisp = require('brandly-lisp');
var lisp = new Lisp();
console.log(lisp.exec('(+ 2 2)'));
// => 4
or you can use it in a browser
<script src="dist/lisp.js">
<script>
var lisp = new Lisp();
console.log(lisp.exec('(+ 2 2)'));
// => 4
</script>
or you can try it out online
development
$ npm install
$ npm test
to build a standalone file for the browser
$ npm run browser