Hacker News Comments on
Compilers: Principles, Techniques, and Tools
·
5
HN comments
- This course is unranked · view top recommended courses
Hacker News Stories and Comments
All the comments and stories posted to Hacker News that reference this book.international editions are printed on horrible paper and often have mistakes for who knows what reason. I would steer clear of them for the most part.The first edition can be had for $10 on amazon. http://www.amazon.com/gp/offer-listing/0201100886/ref=dp_olp...
⬐ paulddraperThat's not my experience.I usually find then to be cheaper, in paperback, and sometimes with different exercise problems.
⬐ sitkackCool. I'll take another look. I got burned a couple times buying books on half dot com that were being resold from India. Quality was horrid.
The Dragon Book. http://www.amazon.com/Compilers-Principles-Techniques-Alfred...
⬐ anaphorThis wouldn't be very useful for building a small interpreter.
I am not an expert in compilers, but in my undergrad compiler's class one of the things I remember the most are parsers (such as LALR). I remember having a great time implementing different types of parsers:http://en.wikipedia.org/wiki/Category:Parsing_algorithms
I think the dragon book is the absolute reference for learning compilers:
http://www.amazon.com/Compilers-Principles-Techniques-Alfred...
The classic is the "Dragon Book":http://www.amazon.com/Compilers-Principles-Techniques-Alfred...
I'm also partial to Appel's "Modern Compiler Implementation in ML", because it goes into more detail about techniques for compiling functional languages:
http://www.amazon.com/Modern-Compiler-Implementation-Andrew-...
⬐ qeorgeGreat, thanks. I'll check these out.
I can only recommend the "Dragon Book". Its old but really a great intro into Compilers. I had the benefit of working with it must say I didn't find anything better so far.Compilers: Principles, Techniques, and Tools by Alfred V. Aho (Author), Ravi Sethi (Author), Jeffrey D. Ullman (Author)
http://www.amazon.com/Compilers-Principles-Techniques-Alfred...
⬐ eruI found the Dragon Book quite dull, and old fashioned. "Implementing Functional Programming Languages" [1] by Simon Peyton-Jones makes a much more interesting read.Edit: I guess, we are talking about different Dragon Books. Wikipedia lists [2] at least three. And says about the first: "Principles of Compiler Design is now rather dated [...]."
[1] http://research.microsoft.com/en-us/um/people/simonpj/papers... [2] http://en.wikipedia.org/wiki/Dragon_Book