Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/kraks/lisp.js

A tiny lisp interpreter in JavaScript.
https://github.com/kraks/lisp.js

javascript lisp lisp-interpreter tiny

Last synced: about 1 month ago
JSON representation

A tiny lisp interpreter in JavaScript.

Awesome Lists containing this project

README

        

# Lisp.js

Inspired by Peter Norvig's [Lisp.py](http://norvig.com/lispy.html), I take two days and wrote a tiny but powerful lisp interpreter in JavaScript.

I improved arithmetic operator to support multiple parameter calculations, such as `(add 1 2 3 4)`, and added some syntax sugars like `let`, `let*`, `cond`, `else`, `and` and `or`.

Now it could interpret a Y combinator!

How to use
---
install:

`# npm install lisp.js`

start:

`$ lispjs`

read code from files:

`$ lispjs file1 file2 ...`

Have fun!

Licenses
---
MIT

Github: [Lisp.js](http://github.com/Kraks/lisp.js)