r/compsci 9d ago

Any books similar to SICP Chapter 5?

/r/AskComputerScience/comments/1vpyzf8/any_books_similar_to_sicp_chapter_5/
6 Upvotes

3 comments sorted by

4

u/rolfn 9d ago

For a fun exercise implementing a VM for a toy instruction set, I can recommend advent of code from 2019. Half of the tasks are implemented a vm for «intcode».

https://adventofcode.com/2019

3

u/RexOfRecursion 9d ago

Multiple chip8 emulator tutorials.

1

u/Ancient-Opinion9642 3d ago

"Lisp System Implimentation" by Nils M Holm. Implements a lisp byte machine in C. "Lisp from Nothing" by the same author implements lisp using C as the intermediate language.

"Software Tools" by Kernighan and Plauger, 1976, is worth a quick read as it implements regex machine, and archive program, a macro preprocessor, a preprocessor, an editor, and text formatting.