'(:cell) REPL

Welcome to Cell

Try it:

Simple math
(+ 2 3)
(+ 5 (- 11 7) 22)
(inc 1)
      
Define a function
(def myfunc
  (=> (a b)
      (+ a b)))
      
Call the function
(myfunc 2 3)
      
Lists
(take 3 '(1 2 3 4))
      
Functional list manipulation
(reduce + 0
  (map inc '(1 2 3 4)))
      

Example programs

Get the source

Github

What is it?

Cell is a toy language based on the original Lisp specification. I wrote this interpreter solely for the purpose of learning how Lisp works, so please do not attempt to use it for any real project. As always, any comments or criticisms are welcome.

This implementation was influenced heavily by:

© 2012 Josh Fleming