Projects
View on GitHub
maryrosecook/littlelisp
About
A small Lisp interpreter in JavaScript
Languages & RuntimesMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalLittle Lisp
A mini Lisp interpreter in JavaScript. Supports lists (obvs), function invocation, lambdas, lets, if statements, numbers, strings and the library functions first, rest and print.
- By Mary Rose Cook
- https://maryrosecook.com
- [email protected]
Thank you to Martin Tornwall for the implementations of let and if.
Repl
$ node repl.js
Some runnable programs
1
(first (1 2 3))
((lambda (x) (rest x)) ("a" "b" "c"))
Explore related projects
Loading…