2 ms·
Almost all the ones that I know of compiled Lisp to an abstract instruction set, then had an interpreter for this written in assembler. The GC was also written
by rjsw 5y ago
Almost all the ones that I know of compiled Lisp to an abstract instruction set, then had an interpreter for this written in assembler. The GC was also written in assembler. The SCHEME-79 chip [1] was sexps all the way down.
If you were doing it today with the same hardware then writing a LLVM backend for the hardware instruction set might be a useful first step. You could then write the abstract instruction set interpreter and GC mostly in C.
[1] https://dspace.mit.edu/handle/1721.1/6334 https://dspace.mit.edu/handle/1721.1/6334