Skip to content
/ bunny Public

A simplistic lisp interpreter implemented in javascript

Notifications You must be signed in to change notification settings

obipawan/bunny

Repository files navigation

Bunny

A simplistic lisp interpreter implemented in javascript heavily inspired by miniMAL and buildyourownlisp

Very much a wip

examples

  • logical operations
(+ 10 20) //30
(+ 10 (+ 10 20)) //40
(- 20 10) //10
  • environment variables
(def a 6) // 6
(+ a 1) // 7
(let (b 10) b) // 10
  • closures
(fn (a) a) // function
( (fn (a) (+ a 10)) 10) // 20
( (def adder (fn (a b) (+ a b))) 5 10) //15

More to come...

Try it out

npm i && node index.js

Credits:

Attributions:

bunny.png is created by Catherine Please from The Noun Project

license

WTFPL

About

A simplistic lisp interpreter implemented in javascript

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published