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

面向领域特定语言的工程标记语言

Engineering Tagging Languages for DSLs

Timo Greifenberg, Markus Look, Sebastian Roidl, Bernhard Rumpe

摘要:

为了使DSL在不同的上下文中保持干净、可读和可重用,定义一种单独的标记语言是很有用的。标记模型在逻辑上将信息添加到标记的DSL模型中,同时在技术上保持工件分离。使用通用标记语言会导致混杂的标记模型,而定义目标DSL特定标记语言的初始开销很高。本文提出了一种系统的方法来定义DSL特定的标记语言和相应的模式语言,结合了这两个世界的优点:(a)标记语言特别适合DSL,(b)工件保持分离并允许与不同的标记装饰一起重用,(c)标记语言遵循定义的类型模式,以及(d)系统推导大大减少了实现标记语言所需的工作量。一个例子表明,它可以至少部分地实现一个发生器,并适用于任何类型的DSL。索引术语软件工程,建模,MDE,GSE

英文摘要:

To keep a DSL clean, readable and reusable in different contexts, it is useful to define a separate tagging language. A tag model logically adds information to the tagged DSL model while technically keeping the artifacts separated. Using a generic tagging language leads to promiscuous tag models, whereas defining a target DSL-specific tag language has a high initial overhead. This paper presents a systematic approach to define a DSL-specific tag language and a corresponding schema language, combining the advantages of both worlds: (a) the tag language specifically fits to the DSL, (b) the artifacts are kept separated and enabling reuse with different tag decorations, (c) the tag language follows a defined type schema, and (d) systematic derivation considerably reduces the effort necessary to implement the tag language. An example shows that it can at least partially be realized by a generator and applied for any kind of DSL. Index Terms Software Engineering, Modeling, MDE, GSE

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

↑