
Modern Compiler Design
by David Galles · first published 2004
2mentions
1recommended by
2HN commenters
2009–2016first – last mentioned
50% recommend50% neutral
Affiliate links. As an Amazon Associate I earn from qualifying purchases.

…Pieces - how to implement byte code compilers, macro systems, compilation to C, lots of good stuff here. (4) A book on lexing and parsing so you can give your language any syntax you want. I prefer Modern Compiler Design by Gries. If you understand the first three chapters you can write your own lex/yacc equivalents. (the book has a lot more to it than these chapters, but it is the best I've seen on lexing/parsing). (5)…
on “Create Your Own Programming Language (Book)” ↗This was the official text when I took the class in 2004 with one of their disciples (Dr. Liebrock) at New Mexico Tech. But the exercises were actually taken from the book Modern Compiler Design by Andrew Appel. Officially, the C version of the book. I got almost nothing out of the book Engineering a Compiler. Aside from that the class was amazing. Maybe the next edition has become excellent?…
on “Ask HN: Recommend an introductory course on compilers” ↗