GReTL: an extensible, operational, graph-based transformation language

  • Authors:
  • Jürgen Ebert;Tassilo Horn

  • Affiliations:
  • Institute for Software Technology, University Koblenz-Landau, Koblenz, Germany;Institute for Software Technology, University Koblenz-Landau, Koblenz, Germany

  • Venue:
  • Software and Systems Modeling (SoSyM)
  • Year:
  • 2014

Quantified Score

Hi-index 0.00

Visualization

Abstract

This article introduces the graph-based transformation language GReTL. GReTL is operational, and transformations 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 defined as a query on the source graph. GReTL is a kernel language consisting of a minimal set of operations, but it is designed for being extensible. Custom higher-level operations can be built on top of the kernel operations easily. After a description of the foundations of GReTL, its most important elements are introduced along with a transformation example in the field of metamodel integration. Insights into the design of the GReTL API are given, and a convenience copy operation is implemented to demonstrate GReTL's extensibility.