Introduction to Compiler Construction in a Java World (Hardcover) (Java世界中的編譯器建構導論 (精裝版))

Bill Campbell, Swami Iyer, Bahar Akbal-Delibas

  • 出版商: CRC
  • 出版日期: 2012-11-21
  • 售價: $3,500
  • 貴賓價: 9.5$3,325
  • 語言: 英文
  • 頁數: 381
  • 裝訂: Hardcover
  • ISBN: 1439860882
  • ISBN-13: 9781439860885
  • 相關分類: Java 程式語言Compiler
  • 立即出貨 (庫存=1)

買這商品的人也買了...

相關主題

商品描述

Immersing students in Java and the Java Virtual Machine (JVM), Introduction to Compiler Construction in a Java World enables a deep understanding of the Java programming language and its implementation. The text focuses on design, organization, and testing, helping students learn good software engineering skills and become better programmers.

 

The book covers all of the standard compiler topics, including lexical analysis, parsing, abstract syntax trees, semantic analysis, code generation, and register allocation. The authors also demonstrate how JVM code can be translated to a register machine, specifically the MIPS architecture. In addition, they discuss recent strategies, such as just-in-time compiling and hotspot compiling, and present an overview of leading commercial compilers. Each chapter includes a mix of written exercises and programming projects.

 

By working with and extending a real, functional compiler, students develop a hands-on appreciation of how compilers work, how to write compilers, and how the Java language behaves. They also get invaluable practice working with a non-trivial Java program of more than 30,000 lines of code. Fully documented Java code for the compiler is accessible at http://www.cs.umb.edu/j--/

商品描述(中文翻譯)

《在Java世界中介紹編譯器構建》將學生深入融入Java和Java虛擬機(JVM),幫助他們深入理解Java編程語言及其實現。本書著重於設計、組織和測試,幫助學生學習良好的軟件工程技能,成為更好的程序員。

本書涵蓋了所有標準的編譯器主題,包括詞法分析、解析、抽象語法樹、語義分析、代碼生成和寄存器分配。作者還演示了如何將JVM代碼轉換為寄存器機器,具體而言是MIPS架構。此外,他們還討論了最新的策略,如即時編譯和熱點編譯,並概述了領先的商業編譯器。每章包括一些書面練習和編程項目。

通過與擴展一個真實的、功能完整的編譯器一起工作,學生們可以親身體驗編譯器的工作原理,學習如何編寫編譯器,以及Java語言的行為。他們還可以通過與一個超過30,000行代碼的非平凡Java程序進行實踐,獲得寶貴的經驗。編譯器的完整文檔化Java代碼可在http://www.cs.umb.edu/j--/上獲得。