Engineering a Compiler,
Edition 3
By Keith D. Cooper and Linda Torczon

Publication Date: 02 Oct 2022
Description
Engineering a Compiler, Third Edition covers the latest developments in compiler technology, with new chapters focusing on semantic elaboration (the problems that arise in generating code from the ad-hoc syntax-directed translation schemes in a generated parser), on runtime support for naming and addressability, and on code shape for expressions, assignments and control-structures. Leading educators and researchers, Keith Cooper and Linda Torczon, have revised this popular text with a fresh approach to learning important techniques for constructing a modern compiler, combining basic principles with pragmatic insights from their own experience building state-of-the-art compilers.

Key Features

  • Presents in-depth treatments of algorithms and techniques used in the front end of a modern compiler
  • Pays particular attention to code optimization and code generation, both primary areas of recent research and development
  • Focuses on how compilers (and interpreters) implement abstraction, tying the underlying knowledge to students’ own experience and to the languages in which they have been taught to program
  • Covers bottom-up methods of register allocation at the local scope
About the author
By Keith D. Cooper, Department of Computer Science, Rice University, Houston, Texas, USA and Linda Torczon, Principal Investigator on the Massively Scalar Compiler Project, Rice University, Houston, Texas, USA
Table of Contents

1. Overview of Compilation
2. Scanners
3. Parsers
4. Intermediate Representations
5. Syntax-Driven Translation
6. Implementing Procedures
7. Code Shape
8. Introduction to Optimization
9. Data-Flow Analysis
10. Scalar Optimization
11. Instruction Selection
12. Instruction Scheduling
13. Register Allocation
14. Runtime Optimization

Book details
ISBN: 9780128154120
Page Count: 848
Retail Price : £79.99
9780124104099; 9780123838728; 9780123944245
Instructor Resources
Audience
Primarily graduate, some undergraduate students in computer science; professional compiler writers, system software developers, architects and computer system designers
Reviews
people find this review helpful
people find this review helpful
people find this review helpful