[Paper Review] A Domain Specific Transformation Language
This paper introduces a domain-specific transformation language that reuses the concrete syntax of a textual modeling language for hierarchical automata, enabling domain experts to define both models and their transformations in a unified, intuitive notation. The approach improves comprehensibility and learnability by aligning transformation syntax with the domain-specific language's visual and structural conventions, demonstrating feasibility through a prototype and a scenario for automatically generating transformation languages from existing textual DSLs.
Domain specific languages (DSLs) allow domain experts to model parts of the system under development in a problem-oriented notation that is well-known in the respective domain. The introduction of a DSL is often accompanied the desire to transform its instances. Although the modeling language is domain specific, the transformation language used to describe modifications, such as model evolution or refactoring operations, on the underlying model, usually is a rather domain independent language nowadays. Most transformation languages use a generic notation of model patterns that is closely related to typed and attributed graphs or to object diagrams (the abstract syntax). A notation that reflects the transformed elements of the original DSL in its own concrete syntax would be strongly preferable, because it would be more comprehensible and easier to learn for domain experts. In this paper we present a transformation language that reuses the concrete syntax of a textual modeling language for hierarchical automata, which allows domain experts to describe models as well as modifications of models in a convenient, yet precise manner. As an outlook, we illustrate a scenario where we generate transformation languages from existing textual languages.
Motivation & Objective
- To address the disconnect between domain-specific modeling languages and generic, hard-to-learn transformation languages.
- To improve the comprehensibility and usability of model transformations for domain experts by aligning transformation syntax with the concrete syntax of the domain-specific language.
- To enable precise and maintainable specification of model modifications such as refactoring and evolution using a notation familiar to domain experts.
- To explore the feasibility of automatically generating transformation languages from existing textual domain-specific languages.
Proposed method
- The transformation language reuses the concrete syntax of a textual modeling language for hierarchical automata to express both models and transformations.
- Transformations are defined using pattern-matching constructs that mirror the structure of the original DSL's syntax, enhancing readability.
- The approach leverages the abstract syntax of the modeling language as a foundation for transformation rules, ensuring type safety and precision.
- A prototype implementation demonstrates the integration of model definition and transformation within a single language surface syntax.
- The paper outlines a method for automatically generating transformation languages from existing textual DSLs by analyzing their grammar and structure.
Experimental results
Research questions
- RQ1Can a transformation language that reuses the concrete syntax of a domain-specific language improve comprehensibility for domain experts?
- RQ2How can model transformations be expressed in a notation that reflects the visual and structural conventions of the domain-specific modeling language?
- RQ3Is it feasible to automatically generate transformation languages from existing textual domain-specific languages?
- RQ4To what extent does reusing the DSL's syntax reduce the learning curve for non-expert users?
Key findings
- The proposed transformation language enables domain experts to write transformations using the same syntax as model definitions, significantly improving readability and learnability.
- By aligning transformation syntax with the DSL's concrete syntax, the approach reduces cognitive load and increases precision in specifying model modifications.
- The prototype implementation successfully integrates model and transformation specification within a single language surface syntax, demonstrating practical feasibility.
- The paper demonstrates a viable pathway for automatically generating transformation languages from existing textual DSLs, based on grammar and structure analysis.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.