Model transformation language explained
A model transformation language in systems and software engineering is a language intended specifically for model transformation.
Overview
The notion of model transformation is central to model-driven development. A model transformation, which is essentially a program which operates on models, can be written in a general-purpose programming language, such as Java. However, special-purpose model transformation languages can offer advantages, such as syntax that makes it easy to refer to model elements. For writing bidirectional model transformations, which maintain consistency between two or more models, a specialist bidirectional model transformation language is particularly important, because it can help avoid the duplication that would result from writing each direction of the transformation separately.
Currently, most model transformation languages are being developed in academia. The OMG has standardised a family of model transformation languages called QVT, but the field is still immature.
There are ongoing debates regarding the benefits of specialised model transformation languages, compared to the use of general-purpose programming languages (GPLs) such as Java.[1] While GPLs have advantages in terms of more widely-available practitioner knowledge and tool support, the specialised transformation languages do provide more declarative facilities and more powerful specialised features to support model transformations.[2]
Available transformation languages
the OMG has defined a standard for expressing M2T transformations
- MOLA (see http://mola.mii.lu.lv/) : a graphical high-level transformation language built in upon Lx.
- MT : a transformation language developed at King's College, London (UK) (based on Converge PL)
- QVT : the OMG has defined a standard for expressing M2M transformations, called MOF/QVT or in short QVT.
- SiTra http://www.cs.bham.ac.uk/~bxb/SiTra.html : a pragmatic transformation approach based on using a standard programming language, e.g. Java, C#
- Stratego/XT : a transformation language based on rewriting with programmable strategies
- Tefkat : a transformation language and a model transformation engine
- Tom : a language based on rewriting calculus, with pattern-matching and strategies
- UML-RSDS https://projects.eclipse.org/projects/modeling.agileuml : a model transformation and MDD approach using UML and OCL
- VIATRA : a framework for transformation-based verification and validation environment
- YAMTL (see https://yamtl.github.io/): An internal DSL for model transformation within JVM languages (Java, Groovy, Xtend, Kotlin), featuring key characteristics such as runtime performance, reuse of transformation logic, incremental execution, and independence from IDEs.
See also
Further reading
- The MDA Journal: Model Driven Architecture Straight From The Masters
- Model Driven Architecture: Applying MDA to Enterprise Computing, David S. Frankel, John Wiley & Sons,
- OMG MDA Guide MDA Guide Version 1.0.1
- Model-Driven Architecture: Vision, Standards And Emerging Technologies at omg.org
- An Introduction to Model Driven Architecture at .com
- From Object Composition to Model Transformation with the MDA at omg.org
- Mens, T, and Van Gorp, P: A Taxonomy of Model Transformation, Electronic Notes in Theoretical Computer Science, Volume 152, 27 March 2006, Pages 125-142
- Czarnecki, K, and Helsen, S : Classification of Model Transformation Approaches. In: Proceedings of the OOPSLA'03 Workshop on the Generative Techniques in the Context Of Model-Driven Architecture, Anaheim, California, USA. Webpublished.
- Gronmo, R, and Oldevik, J : An Empirical Study of the UML Model Transformation Tool (UMT). http://interop-esa05.unige.ch/INTEROP/Proceedings/IndustrialPresentations/Gronmo.pdf
Notes and References
- https://www.jot.fm/issues/issue_2019_03/article7.pdf
- Advantages and disadvantages of (Dedicated) model transformation languages . 10.1007/s10664-022-10194-7 . 2022 . Höppner . Stefan . Haas . Yves . Tichy . Matthias . Juhnke . Katharina . Empirical Software Engineering . 27 . 6 . 251644010 . free . 2201.13348 .