arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1409.2309cs.SE
收藏

一种特定领域转换语言

A Domain Specific Transformation Language

Bernhard Rumpe, Ingo Weisemöller

摘要:

领域特定语言(DSL)允许领域专家以面向问题的表示法对正在开发的系统的各个部分进行建模,这种表示法在各自的领域中是众所周知的。DSL的引入通常伴随着转换其实例的愿望。虽然建模语言是领域特定的,用于描述修改的转换语言,如模型演化或重构操作,在底层模型,通常是一个领域无关的语言。大多数转换语言使用模型模式的通用表示法,这种表示法与类型化和属性化图或对象图(抽象语法)密切相关。一种在其自身的具体语法中反映原始DSL的转换元素的标记法将是非常可取的,因为它对于领域专家来说更容易理解和学习。在本文中,我们提出了一种转换语言,重用的文本建模语言的层次自动机,它允许领域专家来描述模型,以及修改模型在一个方便的,但精确的方式的具体语法。作为展望,我们说明了一个场景,我们从现有的文本语言生成转换语言。

英文摘要:

Domain specific languages (DSLs) allow domain experts to model parts of the system under development in a problem-oriented notation that is well-known in the respective domain. The introduction of a DSL is often accompanied the desire to transform its instances. Although the modeling language is domain specific, the transformation language used to describe modifications, such as model evolution or refactoring operations, on the underlying model, usually is a rather domain independent language nowadays. Most transformation languages use a generic notation of model patterns that is closely related to typed and attributed graphs or to object diagrams (the abstract syntax). A notation that reflects the transformed elements of the original DSL in its own concrete syntax would be strongly preferable, because it would be more comprehensible and easier to learn for domain experts. In this paper we present a transformation language that reuses the concrete syntax of a textual modeling language for hierarchical automata, which allows domain experts to describe models as well as modifications of models in a convenient, yet precise manner. As an outlook, we illustrate a scenario where we generate transformation languages from existing textual languages.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑