tinylisp icon indicating copy to clipboard operation
tinylisp copied to clipboard

Lisp in 99 lines of C and how to write one yourself. Includes 20 Lisp primitives, garbage collection and REPL. Includes tail-call optimized versions for speed and reduced memory use.

Results 3 tinylisp issues
Sort by recently updated
recently updated
newest added

Hello, Instead of your clever nan boxing you also can use a struct with bitfields. The code will be easier because normal member names are available, and also more info...

question

Hello, I've been experimenting with the tail call-optimized version of tinylisp (`tinylisp-opt.c`), but it doesn't seem to optimize tail calls. Specifically, I've been testing it with a tail call-optimized factorial...

# NOTE: Still work in progress, if ok, we should possibly add more tests. Good day. This is a different approach to providing some tests. This approach is less invasive...