I’d like to study the official Clojure implementation. Can anyone who is familiar with the code recommend where to start reading it from? Are there certain parts which will make understanding the rest of it easier, or which are key to understanding how Clojure works?
I’d like to study the official Clojure implementation. Can anyone who is familiar with
Share
There are some big ideas in there – that may not be apparent until you’re familiar with implementing a LISP.
So even before you look at the Clojure code – you might want to look at the code for a basic LISP implementation (there are heaps online – this is one of my favourites).
Next I’d read a book like Christian Quinnec’s Lisp In Small Pieces (LISP) which is a book about implementing LISP compilers – to get the paradigms.
In terms of actually starting in the Clojure source – I’d start with
eval– here.