Metamodel specialization for graphical modeling language support

Autor: Audris Kalnins, Janis Barzdins
Rok vydání: 2016
Předmět:
Zdroj: MoDELS
DOI: 10.1145/2976767.2976779
Popis: Most of current modeling languages are based on graphical diagrams. The concrete graphical syntax of these languages typically is defined informally -- by text and diagram examples. Only recently, starting from UML 2.5, a formalism is offered for defining the graphical syntax of UML. This formalism is based on Diagram Definition standard by OMG, where the main emphasis is on enabling diagram interchange between different tools implementing the given language. While this is crucial for standardized languages such as UML, this aspect is not so important for domain specific languages. In this paper an approach is offered for simple direct definition of concrete graphical syntax by means of metamodels. Metamodels are typically used for language definition, but mainly the MOF-inspired approach via metametamodel instantiation is used. We offer an alternative approach based on core metamodel specialization, which leads to a more direct and understandable definition, staying at the same meta-layer. In addition, our approach permits a natural extension -- a facility for graphical editor definition for the given language, which is vital in the world of DSLs. In contrast to most DSL development platforms which are based on abstract syntax metamodel of the language and a mapping to graphics our facility is based directly on the graphical syntax.
Databáze: OpenAIRE