Higher-order Rewriting of Model-to-Text Templates for Integrating Domain-specific Modeling Languages

Bernhard Hoisl, Stefan Sobernig, Mark Strembeck

2013

Abstract

Domain-specific modeling languages (DSMLs) are commonly used in model-driven development projects. In this context, model-to-text (M2T) transformation templates generate source code from DSML models. When integrating two (or more) DSMLs, the reuse of such templates for the composed DSML would yield a number of benefits, such as, a reduced testing and maintenance effort. However, in order to reuse the original templates for an integrated DSML, potential syntactical mismatches between the templates and the integrated metamodel must be solved. This paper proposes a technology-independent approach to template rewriting based on higher-order model transformations to address such mismatches in an automated manner. By considering M2T generator templates as first-class models and by reusing transformation traces, our approach enables syntactical template rewriting. To demonstrate the feasibility of this rewriting technique, we built a prototype for Eclipse EMF and Epsilon.

Download


Paper Citation


in Harvard Style

Hoisl B., Sobernig S. and Strembeck M. (2013). Higher-order Rewriting of Model-to-Text Templates for Integrating Domain-specific Modeling Languages . In Proceedings of the 1st International Conference on Model-Driven Engineering and Software Development - Volume 1: MODELSWARD, ISBN 978-989-8565-42-6, pages 49-61. DOI: 10.5220/0004321100490061

in Bibtex Style

@conference{modelsward13,
author={Bernhard Hoisl and Stefan Sobernig and Mark Strembeck},
title={Higher-order Rewriting of Model-to-Text Templates for Integrating Domain-specific Modeling Languages},
booktitle={Proceedings of the 1st International Conference on Model-Driven Engineering and Software Development - Volume 1: MODELSWARD,},
year={2013},
pages={49-61},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0004321100490061},
isbn={978-989-8565-42-6},
}


in EndNote Style

TY - CONF
JO - Proceedings of the 1st International Conference on Model-Driven Engineering and Software Development - Volume 1: MODELSWARD,
TI - Higher-order Rewriting of Model-to-Text Templates for Integrating Domain-specific Modeling Languages
SN - 978-989-8565-42-6
AU - Hoisl B.
AU - Sobernig S.
AU - Strembeck M.
PY - 2013
SP - 49
EP - 61
DO - 10.5220/0004321100490061