- Hardcover: 1000 pages
- Publisher: Addison Wesley; 2nd edition (September 10, 2006)
- Language: English
- ISBN-10: 0321486811
- ISBN-13: 978-0321486813
- Product Dimensions: 6.6 x 1.5 x 9.4 inches
- Shipping Weight: 2.6 pounds (View shipping rates and policies)
- Average Customer Review: 42 customer reviews
- Amazon Best Sellers Rank: #60,830 in Books (See Top 100 in Books)
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
Compilers: Principles, Techniques, and Tools (2nd Edition) 2nd Edition
Use the Amazon App to scan ISBNs and compare prices.
There is a newer edition of this item:
See the Best Books of the Month
Want to know our Editors' picks for the best books of the month? Browse Best Books of the Month, featuring our favorite new books in more than a dozen categories.
Frequently bought together
Customers who bought this item also bought
About the Author
Alfred V. Aho is Lawrence Gussman Professor of Computer Science at Columbia University. Professor Aho has won several awards including the Great Teacher Award for 2003 from the Society of Columbia Graduates and the IEEE John von Neumann Medal. He is a member of the National Academy of Engineering and a fellow of the ACM and IEEE.
Monica S. Lam is a Professor of Computer Science at Stanford University, was the Chief Scientist at Tensilica and the founding CEO of moka5. She led the SUIF project which produced one of the most popular research compilers, and pioneered numerous compiler techniques used in industry.
Ravi Sethi launched the research organization in Avaya and is president of Avaya Labs. Previously, he was a senior vice president at Bell Labs in Murray Hill and chief technical officer for communications software at Lucent Technologies. He has held teaching positions at the Pennsylvania State University and the University of Arizona, and has taught at Princeton University and Rutgers. He is a fellow of the ACM.
Jeffrey Ullman is CEO of Gradiance and a Stanford W. Ascherman Professor of Computer Science at Stanford University. His research interests include database theory, database integration, data mining, and education using the information infrastructure. He is a member of the National Academy of Engineering, a fellow of the ACM, and winner of the Karlstrom Award and Knuth Prize.
Browse award-winning titles. See more
Top customer reviews
I bought this book well ahead of time, because the subject of compilers is not an easy one. Luckily, I just completed a course on Formal Languages & Automata, so some of the things involved in the compilation process is less frightening for me than they would be otherwise. However, I knew I would have to get a good head-start to do well in class, but also to truly learn and understand the subject. This book is very well written and I've gotten far enough into it to comfortably comment on it. As far as theory-packed books are concerned, this one is top-notch. The authors made it very approachable and it doesn't feel like they're trying to bloat the content with academic nonsense in order to place themselves on a pedestal above all else. No, I can confidently say that they've done an amazing job in making it as friendly as possible. With that said, and as I've mentioned, this is not an easy topic. Unless you're exceptionally amazing at comprehending complex material through the first read-through, expect to read this book a few times. On the bright side, it's a pretty good read and you will learn a lot from it.
If you have the right mindset and the necessary passion, this is the book for you. The authors have done a fantastic job and you will not regret investing time into it.
However, the Amazon Kindle edition of this book is *awful*. First and foremost, I discovered at least one error in an algorithm that is not present in the standard edition that causes the book's proposed algorithms to be incorrect (in this case, it was algorithm 4.31 - in step 1, you should compute FIRST(alpha), not FIRST(A).)
On top of that, there are spacing issues and font issues throughout the book. It appears that in many places where the standard edition had a word separated across lines, the Kindle edition merely has that word split in two with a space between its halves. Worse, the font choice used to typeset algorithms doesn't easily distinguish many greek lowercase letters from their modern English equivalents, the result being that it is fiendishly difficult to understand some algorithms (the book uses greek letters to indicate a 'sentential form', so they appear a *lot* and tend to be right next to their modern equivalents.)
In other words, I would give Compilers (the Standard edition) a 5/5 (or maybe a 4/5 - it could stand to use a bit more real-world code), but this Kindle edition is rubbish and you SHOULD NOT BUY.
Initially when I bought this book because I was nervous about the new edition. The previous 1986 edition with the quaint illustration of the red dragon was the bench-mark gold standard for compiler texts, and I was worried that the new edition (with it's digitally animated cover, which loses much of the charm of the original) would be marred by loses and compromises. That anxiety was ill-founded. The new edition is every bit as wonderful and complete as the previous version was, with valuable information updated but nothing that I can see that is lost.
One small complaint I might have, and this is not something that the authors could control, is that some important new developments have been made in the world of compilers and interpreters in the past few years. Things like PEG (Packrat parsing and OMeta), parser combinators and compound grammars are all new in the front-end world, While the state of the art in interpreters and VMs is leading to things like JIT which are turning out to be of central importance in many places but which are barely mentioned in this book at all.
Anyway, on balance this is an excellent book and one that is well worth buying if you're interested in compilers, interpreters, VMs or other infrastructure components like that. This is a must-read if you're interested in working on a major existing compiler project or if you would like to dabble with your own little language or language runtime.