Software Language Engineering: Creating Domain-Specific Languages Using Metamodels (Paperback)
暫譯: 軟體語言工程:使用元模型創建領域特定語言 (平裝本)

Anneke Kleppe

  • 出版商: Addison Wesley
  • 出版日期: 2008-12-19
  • 售價: $1,400
  • 貴賓價: 9.5$1,330
  • 語言: 英文
  • 頁數: 240
  • 裝訂: Paperback
  • ISBN: 0321553454
  • ISBN-13: 9780321553454
  • 相關分類: 程式語言軟體工程
  • 立即出貨

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

商品描述

Software practitioners are rapidly discovering the immense value of Domain-Specific Languages (DSLs) in solving problems within clearly definable problem domains. Developers are applying DSLs to improve productivity and quality in a wide range of areas, such as finance, combat simulation, macro scripting, image generation, and more. But until now, there have been few practical resources that explain how DSLs work and how to construct them for optimal use.

 

Software Language Engineering fills that need. Written by expert DSL consultant Anneke Kleppe, this is the first comprehensive guide to successful DSL design. Kleppe systematically introduces and explains every ingredient of an effective

language specification, including its description of concepts, how those concepts are denoted, and what those concepts mean in relation to the problem domain. Kleppe carefully illuminates good design strategy, showing how to maximize the flexibility of the languages you create. She also demonstrates powerful techniques for creating new DSLs that cooperate well with general-purpose languages and leverage their power.

 

Completely tool-independent, this book can serve as the primary resource for readers using Microsoft DSL tools, the Eclipse Modeling Framework, openArchitectureWare, or any other DSL toolset. It contains multiple examples, an illustrative running case study, and insights and background information drawn from Kleppe’s leading-edge work as a DSL researcher.

 

Specific topics covered include

 

  • Discovering the types of problems that DSLs can solve, and when to use them
  • Comparing DSLs with general-purpose languages, frameworks, APIs, and other approaches
  • Understanding the roles and tools available to language users and engineers
  • Creating each component of a DSL specification
  • Modeling both concrete and abstract syntax
  • Understanding and describing language semantics
  • Defining textual and visual languages based on object-oriented metamodeling and graph transformations
  • Using metamodels and associated tools to generate grammars
  • Integrating object-oriented modeling with graph theory
  • Building code generators for new languages
  • Supporting multilanguage models and programs

 

This book provides software engineers with all the guidance they need to create DSLs that solve real problems more rapidly, and with higher-quality code.

商品描述(中文翻譯)

軟體從業者正迅速發現領域特定語言(Domain-Specific Languages, DSLs)在解決明確定義的問題領域中的巨大價值。開發人員正在將 DSL 應用於提高生產力和質量,涵蓋金融、戰鬥模擬、宏腳本、圖像生成等多個領域。然而,直到現在,關於 DSL 如何運作以及如何構建以達到最佳使用效果的實用資源仍然很少。

《軟體語言工程》(Software Language Engineering)填補了這一需求。這本書由 DSL 專家顧問 Anneke Kleppe 撰寫,是第一本全面的成功 DSL 設計指南。Kleppe 系統地介紹並解釋了有效語言規範的每一個要素,包括概念的描述、這些概念的表示方式,以及這些概念在問題領域中的意義。Kleppe 精心闡明了良好的設計策略,展示了如何最大化您創建的語言的靈活性。她還展示了創建與通用語言良好協作並利用其優勢的新 DSL 的強大技術。

這本書完全不依賴於任何工具,可以作為使用 Microsoft DSL 工具、Eclipse Modeling Framework、openArchitectureWare 或任何其他 DSL 工具集的讀者的主要資源。書中包含多個範例、一個說明性的運行案例研究,以及來自 Kleppe 在 DSL 研究領域前沿工作的見解和背景資訊。

具體涵蓋的主題包括:

- 發現 DSL 可以解決的問題類型,以及何時使用它們
- 將 DSL 與通用語言、框架、API 和其他方法進行比較
- 理解語言使用者和工程師可用的角色和工具
- 創建 DSL 規範的每個組件
- 建模具體和抽象語法
- 理解和描述語言語義
- 基於面向對象的元模型和圖形轉換定義文本和視覺語言
- 使用元模型和相關工具生成語法
- 將面向對象建模與圖論整合
- 為新語言構建代碼生成器
- 支持多語言模型和程序

這本書為軟體工程師提供了創建能夠更快速解決實際問題的 DSL 所需的所有指導,並能生成更高質量的代碼。