The GReTL Transformation Language

Tassilo Horn, J├╝rgen Ebert. The GReTL Transformation Language. In Jordi Cabot, Eelco Visser, editors, Theory and Practice of Model Transformations, Fourth International Conference, ICMT 2011, Zurich, Switzerland, June 27-28, 2011. Proceedings. Volume 6707 of Lecture Notes in Computer Science, pages 183-197, Springer, 2011.


This paper introduces the graph-based transformation language GReTL. GReTL is an operational transformation language whose operations are either specified in plain Java using the GReTL API or in a simple domain-specific language. GReTL follows the conception of incrementally constructing the target metamodel together with the target graph. When creating a new metamodel element, a set-based semantic expression is specified that describes the set of instances that have to be created in the target graph. This expression is described by a query on the source graph. After a description of the foundations of GReTL, its most important elements are introduced along with a simple example.