Domain-specific languages enable concise and precise formalization of domain concepts and promote direct employment by domain experts. Therefore, syntactic constructs are introduced to empower users to associate concepts and relationships with visual textual symbols. Model-based language engineering facilitates the description of concepts and relationships in an abstract manner. However, concrete representations are commonly attached to abstract domain representations, such as annotations in metamodels, or directly encoded into language grammar and thus introduce redundancy between metamodel elements and grammar elements. In this work we propose an approach that enables autonomous development and maintenance of domain concepts and textual language notations in a distinctive and metamodel-agnostic manner by employing style models containing grammar rule templates and injection-based property selection. We provide an implementation and showcase the proposed notationspecification language in a comparison with state of the art practices during the creation of notations for an executable domain-specific modeling language based on the Eclipse Modeling Framework and Xtext.
|Number of pages||14|
|Journal||CEUR Workshop Proceedings|
|Publication status||Published - 6 Dec 2019|
|Event||19th International Workshop in OCL and Textual Modeling, OCL 2019 - Munich, Germany|
Duration: 16 Sep 2019 → …
Bibliographical note© 2019 The Authors.
- Concrete syntax
- Domain-specific language
- Domain-Specific modeling
- Language engineering
- Model-driven engineering