3 ms·
> Not only that, but the dragon book is terrible. Agreed. I can never believe the people who still praise it.
by eru 14y ago
> Not only that, but the dragon book is terrible.
Agreed. I can never believe the people who still praise it.
- mossplix 14y agoWhich is the best book for compiler design then?
- eru 14y agoI haven't read all of them. But I liked "Modern Compiler Design" (http://www.amazon.com/Modern-Compiler-Design-D-Grune/dp/0471976970 http://www.amazon.com/Modern-Compiler-Design-D-Grune/dp/0471...). If you have a functional bend, Simon Peyton Jones' book (https://research.microsoft.com/en-us/um/people/simonpj/Papers/pj-lester-book/ https://research.microsoft.com/en-us/um/people/simonpj/Paper...) is worth reading, too. His book, however, is not a complete treatment. It assumes you know e.g. how to write a parser, and concentrates on the challenges unique to lazy functional languages.