Compilers: Principles, Techniques, and Tools
From Wikipedia, the free encyclopedia
Compilers: Principles, Techniques, and Tools [1] is a famous computer science textbook by Alfred V. Aho, Ravi Sethi, and Jeffrey D. Ullman about compiler construction. Although decades have passed since the publication of the first edition, it is widely regarded as the classic definitive compiler technology text.
It is known as the Dragon Book because its covers depict a knight and a dragon in battle. The first edition is informally called the “red dragon book” to distinguish it from the second edition and from Aho & Ullman’s Principles of Compiler Design (1977, sometimes known as the “green dragon book” because the dragon on its cover is green).
A new edition of the book was published in August 2006.
Topics covered in the first edition include:
- Compiler structure
- Lexical analysis (including regular expressions and finite automata)
- Syntax analysis (including context-free grammars, LL parsers, bottom-up parsers, and LR parsers)
- Syntax directed translation
- Type checking (including type conversions and polymorphism)
- Run-time environment (including parameter passing, symbol tables, and storage allocation)
- Code generation (including intermediate code generation)
- Code optimization
Contents |
[edit] 2nd Edition
Following in the tradition of its two predecessors, the second edition features a dragon and a knight on its cover, designed by Strange Tonic Productions; for this reason, the series of books by is commonly known as the Dragon Books. Different editions in the series are further distinguished by the color of the dragon. This edition is informally known as the purple dragon. Monica S. Lam of Stanford University became the fourth co-author with this edition.
The second edition includes several additional topics that are not covered in the first edition. New topics include
- directed translation
- new data flow analyses
- parallel machines
- JIT compiling
- garbage collection
- new case studies.
Gradiance provides online homework problems coordinated with the content of the book.
[edit] See also
[edit] References
- ^ Aho, Sethi, Ullman, Compilers: Principles, Techniques, and Tools, Addison-Wesley, 1986. ISBN 0-201-10088-6
[edit] External links
- Sample chapters from the second edition.
- Sample images of the new cover (work-in-progress)
- The 2006 edition: ISBN 0-321-48681-1
- Pearson Education page (uses old title)
- Amazon.co.uk entry for the book. (uses old title)
- Strange Tonic Productions (makers of the cover of the book)
- Amazon.com entry for the book.