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 虛擬機(JVM)中,在 Java 世界中的編譯器建構入門 使讀者能深入理解 Java 程式語言及其實作。該書專注於設計、組織和測試,幫助學生學習良好的軟體工程技能,並成為更優秀的程式設計師。

本書涵蓋所有標準的編譯器主題,包括詞法分析、解析、抽象語法樹、語義分析、程式碼生成和暫存器分配。作者還展示了如何將 JVM 代碼轉換為暫存器機器,特別是 MIPS 架構。此外,他們討論了最近的策略,如即時編譯(just-in-time compiling)和熱點編譯(hotspot compiling),並提供了主要商業編譯器的概述。每一章都包含書面練習和程式設計專案的混合。

透過操作和擴展一個真實的、功能完整的編譯器,學生能夠實際體會編譯器的運作方式、如何撰寫編譯器,以及 Java 語言的行為。他們還能獲得與一個超過 30,000 行代碼的非平凡 Java 程式合作的寶貴經驗。編譯器的完整 Java 代碼可在 http://www.cs.umb.edu/j--/ 獲得。