系统地推导特定领域转换语言
Systematically Deriving Domain-Specific Transformation Languages
摘要:
模型转换有助于演化、重构、改进和维护模型。虽然特定领域的语言通常对建模者来说是直观的,但常见的模型转换方法(无论它们是转换图形模型还是文本模型)都是基于建模语言的抽象语法,要求建模者学习模型的内部表示来描述转换。本文提出了一个过程,允许系统地从一个给定的文本建模语言的语法派生出一个特定于文本域的转换语言。作为例子,我们应用这个系统的推导UML类图,以获得特定领域的转换语言称为CDTrans。CDTrans结合了建模者已经熟悉的类图的具体语法,并使用一些转换操作符对其进行了扩展。为了证明派生转换语言的有用性,我们描述了几个重构转换。
英文摘要:
Model transformations are helpful to evolve, refactor, refine and maintain models. While domain-specific languages are normally intuitive for modelers, common model transformation approaches (regardless of whether they transform graphical or textual models) are based on the modeling language's abstract syntax requiring the modeler to learn the internal representation of the model to describe transformations. This paper presents a process that allows to systematically derive a textual domainspecific transformation language from the grammar of a given textual modeling language. As example, we apply this systematic derivation to UML class diagrams to obtain a domain-specific transformation language called CDTrans. CDTrans incorporates the concrete syntax of class diagrams which is already familiar to the modeler and extends it with a few transformation operators. To demonstrate the usefulness of the derived transformation language, we describe several refactoring transformations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。