Engineering a Compiler, 2/e (美國原版)

Keith Cooper, Linda Torczon




This entirely revised 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 you will learn important techniques for constructing a modern compiler. Leading educators and researchers Keith Cooper and Linda Torczon combine basic principles with pragmatic insights from their experience building state-of-the-art compilers. They will help you fully understand important techniques such as compilation of imperative and object-oriented languages, construction of static single assignment forms, 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


這本完全修訂的第二版《Engineering a Compiler》充滿了技術更新和最新編譯器技術發展的新內容。在這本全面的教材中,您將學習到構建現代編譯器的重要技術。領先的教育家和研究人員Keith Cooper和Linda Torczon結合基本原理和他們在建立最先進編譯器方面的實踐見解,幫助您充分理解重要技術,如命令式和面向對象語言的編譯、靜態單賦值形式的構建、指令調度和圖著色寄存器分配。

- 深入介紹現代編譯器前端使用的算法和技術
- 專注於代碼優化和代碼生成,這是最近研究和開發的主要領域
- 改進的呈現方式,包括每章的概念概述、各節的摘要和復習問題,以及新術語的明確定義的突出位置
- 從多種不同的編程語言中選取的示例