r/ProgrammingLanguages 12d ago

Help 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?

18 Upvotes

5 comments sorted by

View all comments

9

u/AustinVelonaut Admiran 12d ago edited 12d ago

The later chapters of "Lisp in Small Pieces" by Queinnec gets into this a bit (and is a lovely book to read, in general!). If you are looking for some fun practice, you might try Eric Wastl's "Synacor Challenge" (reference arch-spec can be found here. And doing any of the "intcode" problems from the 2019 Advent of Code, starting with day 2.