Towards Lenses for View Synchronization in Metamodel-Based Domain-Specific Workbenches
Arif Wider
Methodische Entwicklung von Modellierungswerkzeugen at INFORMATIK 2011 - Informatik schafft Communities
Berlin 2011
Berlin 2011
Abstract: Model-driven engineering (MDE) advocates the use of different domain-specific languages (DSLs) for describing different aspects of a system, which is called multi-view modeling or multimodeling.
Existing metamodel-based technologies like Xtext provide good support for defining a DSL and for creating a corresponding domain-specific workbench but do not support multimodeling, yet, i.e., they do not provide means to specify (non-bijective) relations between DSLs, so that models that are created using these DSLs are synchronized automatically.
We present a lightweight approach to specify bidirectional model transformations by embedding lenses - a term-rewriting-based approach to bidirectional transformations - into the Scala programming language.
This way, our approach does not depend on special tool support and allows for seamless integration with existing Java-based MDE technologies.