3 ms·
I maintain a programming language called Ferret [1]. You can read through the manual, it is a literate program, covers everything you need to implement your own
by nakkaya 8y ago
I maintain a programming language called Ferret [1]. You can read through the manual, it is a literate program, covers everything you need to implement your own lisp. Compiler, optimizations, runtime, garbage collection etc. [2] overlaps with [1] covers how to compile a restricted subset of Clojure to C++. If you are interested in interpreters [3] has an implementation of the "A Micro-Manual for Lisp - not the whole Truth" in C.
[1] https://ferret-lang.org/ https://ferret-lang.org/
[2] https://nakkaya.com/2011/06/29/ferret-an-experimental-clojure-compiler/ https://nakkaya.com/2011/06/29/ferret-an-experimental-clojur...
[3] https://nakkaya.com/2010/08/24/a-micro-manual-for-lisp-implemented-in-c/ https://nakkaya.com/2010/08/24/a-micro-manual-for-lisp-imple...