Hier finden Sie wissenschaftliche Publikationen aus den Fraunhofer-Instituten.

Engineering tagging languages for DSLs

: Greifenberg, T.; Look, M.; Roidl, S.; Rumpe, B.


Lethbridge, T. ; Association for Computing Machinery -ACM-; Institute of Electrical and Electronics Engineers -IEEE-:
ACM/IEEE 18th International Conference on Model Driven Engineering Languages and Systems (MODELS 2015) : Ottawa, Ontario, Canada, 30 September-2 October 2015
Piscataway, NJ: IEEE, 2015
ISBN: 978-1-4673-6909-1
ISBN: 978-1-4673-6908-4
ISBN: 978-1-4673-6907-7
International Conference on Model Driven Engineering Languages and Systems (MODELS) <18, 2015, Ottawa>
Conference Paper
Fraunhofer FIT ()

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.