4 ms·
I'm puzzled about the forth layer. I'm pretty sure the lisp machines I used were sexps all the way down to assembly, and was really quite nice. to be able to ad
by convolvatron 5y ago
I'm puzzled about the forth layer. I'm pretty sure the lisp machines I used were sexps all the way down to assembly, and was really quite nice. to be able to address any layer of the stack from the repl really.
- rjsw 5y agoAlmost 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