Embeddable Lisp-shaped language implemented in C89.

A tiny, easily embeddable lisp-shaped language implemented in C89.

Overview

  • Supports numbers (floats), symbols, strings, pairs, lambdas, macros
  • Stack tracebacks with filename and line numbers on error
  • Exception-like error handling
  • Simple implementation and garbage collector
  • Easy-to-use C API
(do

  (= fib (fn (n)
    (if (>= n 2)
        (+ (fib (- n 1)) (fib (- n 2)))
        n)))

  (print (fib 20))) ; prints 6765
Information updated 01/27/20
View Comments