Compiler Construction
#1957 of 2,629 all-time
Compiler Construction
Niklaus Wirth
3 people recommended it in 3 threads, 2017–2020.
What people on Hacker News said
I really like this book because it really takes you through all the steps. However, it's very readable and provides great examples of how to actually implement some of the components.
I also like it because it explains how to use tools like Yacc and Bison, while explaining how they work underneath and the motivation for using such tools.
I leaned on this book heavily in the class where the main assignment was writing our own compiler from scratch in C, and I'm currently using it now to make a compiler in rust for a custom language.
Where it comes up
- Ask HN: Best books under 200 pages for developers? 2020 · 1 recommendation
- Ask HN: What are some books where the reader learns by building projects? 2020 · 1 recommendation
- The most mentioned books on Stack Overflow 2017 · 1 recommendation