brandly-lisp

0.8.2 • Public • Published

lisp.js

Build Status

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

or install the cli

development

$ npm install
$ npm test

to build a standalone file for the browser

$ npm run browser

Readme

Keywords

none

Package Sidebar

Install

npm i brandly-lisp

Weekly Downloads

16

Version

0.8.2

License

MIT

Last publish

Collaborators

  • brandly