by aidos · 4y ago · 0 comments
https://journal.stuffwithstuff.com/2020/04/05/crafting-craft...
For those who haven't read the post: the test infrastructure compiles (and runs?) the interpreter code as it exists at the end of each chapter in the book. So not only is the code as a whole guaranteed to compile, but if you follow along correctly, at the end of each chapter you are guaranteed to get something runnable.
EDIT: BTW the book is great, can't recommend it enough! :)