A Practical Approach to Compiler Construction (Undergraduate Topics in Computer Science)
暫譯: 編譯器建構的實用方法(計算機科學本科主題)

Des Watson

  • 出版商: Springer
  • 出版日期: 2017-04-10
  • 定價: $1,850
  • 售價: 8.0$1,480
  • 語言: 英文
  • 頁數: 254
  • 裝訂: Paperback
  • ISBN: 3319527878
  • ISBN-13: 9783319527871
  • 相關分類: CompilerComputer-Science
  • 立即出貨 (庫存 < 3)

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

商品描述

This book provides a practically-oriented introduction to high-level programming language implementation. It demystifies what goes on within a compiler and stimulates the reader's interest in compiler design, an essential aspect of computer science. Programming language analysis and translation techniques are used in many software application areas.

A Practical Approach to Compiler Construction covers the fundamental principles of the subject in an accessible way. It presents the necessary background theory and shows how it can be applied to implement complete compilers. A step-by-step approach, based on a standard compiler structure is adopted, presenting up-to-date techniques and examples. Strategies and designs are described in detail to guide the reader in implementing a translator for a programming language.

A simple high-level language, loosely based on C, is used to illustrate aspects of the compilation process. Code examples in C are included, together with discussion and illustration of how this code can be extended to cover the compilation of more complex languages. Examples are also given of the use of the flex and bison compiler construction tools. Lexical and syntax analysis is covered in detail together with a comprehensive coverage of semantic analysis, intermediate representations, optimisation and code generation. Introductory material on parallelisation is also included.

 

Designed for personal study as well as for use in introductory undergraduate and postgraduate courses in compiler design, the author assumes that readers have a reasonable competence in programming in any high-level language.

 

 

商品描述(中文翻譯)

這本書提供了一個以實務為導向的高階程式語言實作入門介紹。它揭示了編譯器內部運作的過程,並激發讀者對編譯器設計的興趣,這是計算機科學的一個重要方面。程式語言分析和翻譯技術在許多軟體應用領域中都有使用。

《編譯器建構的實務方法》以易於理解的方式涵蓋了該主題的基本原則。它介紹了必要的背景理論,並展示如何應用這些理論來實作完整的編譯器。採用基於標準編譯器結構的逐步方法,呈現最新的技術和範例。詳細描述了策略和設計,以指導讀者實作一個程式語言的翻譯器。

本書使用一種簡單的高階語言,鬆散地基於 C 語言,來說明編譯過程的各個方面。書中包含 C 語言的程式碼範例,並討論和說明如何擴展這些程式碼以涵蓋更複雜語言的編譯。還提供了使用 flex 和 bison 編譯器建構工具的範例。詳細介紹了詞法分析和語法分析,並全面涵蓋了語意分析、中間表示、優化和程式碼生成。還包括有關平行化的入門材料。

本書設計用於個人學習,以及用於編譯器設計的入門本科和研究生課程,作者假設讀者在任何高階語言的程式設計上具有合理的能力。

最後瀏覽商品 (20)