Compilers: Principles, Techniques, and Tools is a computer science textbook by Alfred V. Aho, Monica S. Lam, Ravi Sethi, and Jeffrey D. Ullman about compiler construction. First published in 1986, it is widely regarded as the classic definitive compiler technology text.
It is affectionately known as the Dragon Book to a generation of computer scientists as its cover depicts a knight and a dragon in battle, a metaphor for conquering complexity. This name can also refer to Aho and Ullman's older Principles of Compiler Design.
Video Compilers: Principles, Techniques, and Tools
First edition
The first edition (1986) is informally called the "red dragon book" to distinguish it from the second edition and from Aho & Ullman's 1977 Principles of Compiler Design sometimes known as the "green dragon book" 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 register allocation)
- Code generation (including intermediate code generation)
- Code optimization
Maps Compilers: Principles, Techniques, and Tools
Second edition
Following in the tradition of its two predecessors, the second edition (2006) features a dragon and a knight on its cover, and is informally known as the purple dragon. Monica S. Lam of Stanford University became a co-author with this edition.
The second edition includes several additional topics, including:
- Directed translation
- New data flow analyses
- Parallel machines
- Garbage collection
- New case studies
See also
- Compilers
- Programming language
- Structure and Interpretation of Computer Programs
- Principles of Compiler Design
References
External links
- Book Website at Stanford with link to Errata
- Sample chapters from the second edition.
- The 2006 edition: ISBN 0-321-48681-1
Source of the article : Wikipedia