A practical yet thorough treatment of compiler construction. Crafting a Compiler is an undergraduate-level text that presents a practical approach to compiler construction with thorough coverage of the material and examples that clearly illustrate the concepts in the book. Unlike other texts on the market, Fischer/Cytron/LeBlanc uses object-oriented design patterns and incorporates an algorithmic exposition with modern software practices. The text and its package of accompanying resources allow any instructor to teach a thorough and compelling course in compiler construction in a single semester. An ideal reference and tutorial.
1. Overview
2. Design of a Simple Compiler
3. Theory and Practice of Scanning
4. Formal Grammars and Parsing
5. Top-Down Parsing
6. Bottom-Up Parsing
7. Syntax-Directed Compilation
8. Declaration Processing and Symbol Tables
9. Semantic Analysis
10. Intermediate Representations
etc.