Ask YC: Good compiler books?

Recommendations from 22 sampled comments out of 22 eligible comments. This page covers the sample, rather than the entire HN thread.

16 books

mk · Mar 14, 2008
The Little Schemer does have you building a basic scheme interpreter at the end of the book.
dfranke · Mar 14, 2008
I second that recommendation, with a preemptive shush to anyone was about to whine that it spends so much time covering parser generators.
vchakrav · Mar 14, 2008
alongside a book like Appel's or the Dragon Book.
dedalus · Mar 14, 2008
Then proceed to Dragonbook.
yawl · Mar 14, 2008
The dragon book is a MUST for compiler researcher and people who are serious on compiler
anupamkapoor · Mar 14, 2008
another (more interactive) option might be to pickup a standard compilers text-book e.g aho-ullman / aho-ullman-sethi
mk · Mar 14, 2008
This is what is commonly refered to as "the dragon book".
apathy · Mar 14, 2008
the book is sort of the bible.
Xichekolas · Mar 14, 2008
I'll second the vote for Engineering a Compiler.
jey · Mar 14, 2008
"Engineering a Compiler" by Cooper and Torczon
henning · Mar 14, 2008
Lisp in Small Pieces is good.
dill_day · Mar 14, 2008
I definitely recommend it!
dedalus · Mar 14, 2008
The fundamental book to read would be "Introduction to Automata Theory, Languages, and Computation"
jcl · Mar 14, 2008
We used Appel's book in college, and it wasn't too bad
vchakrav · Mar 14, 2008
alongside a book like Appel's or the Dragon Book.
yawl · Mar 14, 2008
Modern Compiler Implementation by Andrew-Appel is a very good introduction book for people to get started on doing a compiler.
alec · Mar 14, 2008
The nice thing about Appel's book is that you put together a compiler as you go along - it's easier to self-study.
jey · Mar 14, 2008
A good followup text is "Advanced Compiler Design and Implementation" by Muchnick
tptacek · Mar 14, 2008
So far this year, I've been liking Muchnick:
plinkplonk · Mar 15, 2008
This is the most "dense" beginner's book I've found. And it is very engagingly written too.
MMZ · Mar 14, 2008
This is one of the best books I have come across. Precise and to the point.
tptacek · Mar 14, 2008
10 years ago, I loved Hanson and Fraser:
spydez · Mar 14, 2008
"Basics of Compiler Design" is free to download.