This entirely updated second edition of Engineering a Compiler is full of technical updates and new material covering the latest developments in compiler technology. In this comprehensive text, students will learn important techniques for constructing a modern compiler. The authors, Keith Cooper and Linda Torczon, leading educators and researchers, have built several state-of-the-art compilers.
They combine basic principles with pragmatic insights from their experience to help explain important techniques such as compilation of imperative and object-oriented languages, construction of static single-assignment form, instruction scheduling, and graph-coloring register allocation. In-depth treatment of algorithms and techniques used in the front end of a modern compiler Focus on code optimization and code generation, the primary areas of recent research and development Improvements in presentation including conceptual overviews for each chapter, summaries and review questions for sections, and prominent placement of definitions for new terms Examples drawn from several different programming languages.