An open API service indexing awesome lists of open source software.

https://github.com/nitive/lisp-interpreter


https://github.com/nitive/lisp-interpreter

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

Lisp interpreter
===

Simple lisp interpreter written in JS

```clojure
(+ (- 4 2) 2)
```

```js
const lisp = require('lisp-interpeter')

const ast = lisp.parse('(+ 1 2)')

cost ast = { ... }

lisp.evalAst(ast)
lisp.eval('(+ 1 2)')
```