Skip to content

maryrosecook/littlelisp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Little 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.

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"))

Releases

No releases published

Packages

No packages published