Skip to content

joeattueyi/joelisp-js

Repository files navigation

A Toy Lisp Interpreter in Javascript

A toy lisp interpreter that I wrote while learning Clojure, it's heavily influenced by Clojure but not fully Clojure compatible.. yet.

It uses mori's data structures under the hood.

It is also heavily influenced by Peter Norvig's How to Write a Lisp Interpreter in Python

To run

node main.js
8===D~~  (do (def fact (fn [n] (if (<= n 1) 1 (* n (fact (- n 1)))))) (fact 100))
9.33262154439441e+157

Copyright (C) 2014 Joe Attueyi

About

A Toy Lisp Interpreter in Javascript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published