Introduction to Compiler Design

Mogensen, Torben Ægidius

  • 出版商: Springer
  • 出版日期: 2024-01-06
  • 售價: $2,280
  • 貴賓價: 9.5$2,166
  • 語言: 英文
  • 頁數: 287
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 3031464591
  • ISBN-13: 9783031464591
  • 相關分類: Compiler
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

The third edition of this textbook has been fully revised and adds material about the SSA form, polymorphism, garbage collection, and pattern matching. It presents techniques for making realistic compilers for simple to intermediate-complexity programming languages. The techniques presented in the book are close to those used in professional compilers, albeit in places slightly simplified for presentation purposes. "Further reading" sections point to material about the full versions of the techniques.

All phases required for translating a high-level language to symbolic machine language are covered, and some techniques for optimising code are presented. Type checking and interpretation are also included.

Aiming to be neutral with respect to implementation languages, algorithms are mostly presented in pseudo code rather than in any specific language, but suggestions are in many places given for how these can be realised in different language paradigms.

Depending on how much of the material from the book is used, it is suitable for both undergraduate and graduate courses for introducing compiler design and implementation.


商品描述(中文翻譯)

這本教科書的第三版已經完全修訂,並新增了關於SSA形式、多態性、垃圾回收和模式匹配的內容。它介紹了製作簡單到中等複雜程度的編程語言的實際編譯器的技術。書中介紹的技術與專業編譯器中使用的技術非常接近,只是在某些地方稍作簡化以便呈現。"進一步閱讀"部分指向有關這些技術的完整版本的資料。

書中涵蓋了將高級語言轉換為符號機器語言所需的所有階段,並介紹了一些優化代碼的技術。還包括類型檢查和解釋。

為了在實現語言方面保持中立,算法大多以偽代碼形式呈現,而不是特定的語言,但在許多地方提供了如何在不同語言範式中實現這些算法的建議。

根據使用書中材料的程度,它適用於本科和研究生課程,用於介紹編譯器設計和實現。

作者簡介

The author has taught programming language design, implementation, and transformation at the University of Copenhagen for more than two decades.

作者簡介(中文翻譯)

該作者在哥本哈根大學教授程式語言設計、實現和轉換已經超過二十年。