About the Book
This book provides a practical approach to compiler implementation and shows how the different language features are handled and translated in the compilation process. Unlike most books in this area, The Theory and Practice of Compiler Writing thoroughly covers programming language design and error detection, and recovery techniques in compilation, enabling readers to get a firm grasp on compiler planning and programming.
Traditional topics such as lexical analysis, syntactic analysis, symbol table handling, semantic analysis, code generation and code optimization are given balanced coverage, so that readers learn about these pivotal compiler topics without being overwhelmed with unnecessary detail and theory.
1. Introduction, 2. Notation and Concepts for Languages and Grammars, 3. Programming-Language Design, 4. Scanners, 5. Compile-Time Error Handling, 6. Top-Down Parsing, 7. Bottom-Up Parsing, 8. Symbol-Table-Handling Techniques, 9. Run-Time Storage Organisation and Management, 10. Intermediate Forms of Source Programs, 11. Semantic Analysis and Code Generation, 12. Code Optimization, 13. Machine-Dependent Optimization, 14. Compiler-Compilers
About the Authors
Jean-Paul Tremblay is Professor of Computational Science at the University of Saskatchewan in Saskatoon. He received his Ph.D. in Computer Science at the University of New Brunswick. His research interests currently focus on data structures, compiler writing, and computer-aided analysis and documentation.
Paul G. Sorenson is Professor and Head in the Department of Computational Science at the University of Saskatchewan. He received his Ph.D. in Computer Science from the University of Toronto. His current research interests are in the areas of data base design, high-level interfaces to database systems, and information systems analysis and design.