Tech News
← Back to articles

femtolisp: A lightweight, robust, scheme-like Lisp implementation

read original related products more articles

...a purely symbolic gesture...

This project began with an attempt to write the fastest lisp interpreter I could in under 1000 lines of C. It snowballed from there as I kept trying to see if I could add powerful features with minimal code. At the same time I assembled a library of some of my favorite C code (by myself and others) to use as a base for a standard library. This includes ios , a replacement for parts of C's stdio that adds more flexible features.

Before you say "oh no, another lisp", consider the following: femtolisp is about 150kb, is very self-contained, and has the following features:

vectors, strings, gensyms

backquote

exceptions

printing and reading circular/shared structure

all values can be printed readably

prettyprinting

hash tables

... continue reading