Ask HN: Best books on building a programming language

Books from 9 sampled comments.

7 books

stevekemp · Apr 11, 2026
Crafting Interpreters is a good recommendation
markus_zhang · Apr 11, 2026
Crafting interpreters. Very well written and free of cost, but ofc I’d recommend purchasing a copy.
stevekemp · Apr 11, 2026
"Writing an Interpreter in Go" (and it's followup about writing a virtual machine) is a good addition.
skydhash · Apr 11, 2026
The main book I can recommend is Types and Programming Languages by Pierce.
tnelsond4 · Apr 11, 2026
I tried reading the dragon book in my teens, never really understood it, it was too much theory for me.
stevekemp · Apr 11, 2026
it's followup about writing a virtual machine