【24h】

Language Extension and Composition with Language Workbenches

机译:语言工作台的语言扩展和组合

获取原文
获取原文并翻译 | 示例

摘要

Domain-specific languages (DSLs) provide high expressive power focused on a particular problem domain. They provide linguistic abstractions and specialized syntax specifically designed for a domain, allowing developers to avoid boilerplate code and low-level implementation details. Language workbenches are tools that integrate all aspects of the definition of domain-specific or general-purpose software languages and the creation of a programming environment from such a definition. To count as a language workbench, a tool needs to satisfy basic requirements for the integrated definition of syntax, semantics, and editor services, and preferably also support language extension and composition. Within these requirements there is ample room for variation in the design of a language workbench. In this tutorial, we give an introduction to the state of the art in textual DSLs and language workbenches. We discuss the main requirements and variation points in the design of language workbenches, and describe two points in the design space using two state-of-the-art language workbenches. Spoofax is an example of a parser-based language workbench, while MPS represents language workbenches based on projectional editors.
机译:特定领域语言(DSL)提供了针对特定问题域的高表达能力。它们提供了专门为域设计的语言抽象和专用语法,从而使开发人员可以避免样板代码和底层实现细节。语言工作台是一种工具,用于集成特定领域或通用软件语言定义的所有方面以及根据此类定义创建编程环境。为了算作语言工作台,工具需要满足语法,语义和编辑器服务的集成定义的基本要求,并且最好还支持语言扩展和组合。在这些要求之内,语言工作台的设计有足够的变化空间。在本教程中,我们将介绍文本DSL和语言工作台中的最新技术。我们讨论了语言工作台设计的主要要求和变化点,并使用两个最新的语言工作台在设计空间中描述了两个要点。 Spoofax是基于解析器的语言工作台的一个示例,而MPS表示基于投影编辑器的语言工作台。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号