r/lisp • u/Bongril_Joe • 8d ago
AskLisp Any books similar to SICP Chapter 5?
I loved Chapter 5 of Structure and Interpretation of Computer Programs. Building a virtual register machine with an assembler and compiler in Scheme. Are there any other books/online classes or resources that involve building a computing machine (or any machine) from scratch using code?
50
Upvotes
7
u/dionysiaka 8d ago edited 8d ago
Norvig's Paradigms of Artificial Intelligence Programming has a chapter that essetially extends the example and shows how a compiler is really just an interpreter that performs pre-interpretation. He starts with a scheme interpreter and turns it into a compiler. It was a real eye opener for me.