Metamodel specialization for graphical modeling language support
Autor: | Audris Kalnins, Janis Barzdins |
---|---|
Rok vydání: | 2016 |
Předmět: |
Domain-specific language
Modeling language Programming language Computer science 020207 software engineering 02 engineering and technology 010501 environmental sciences computer.software_genre 01 natural sciences Metamodeling Language definition Digital subscriber line Unified Modeling Language Abstract syntax 0202 electrical engineering electronic engineering information engineering Software_PROGRAMMINGLANGUAGES Graphics computer 0105 earth and related environmental sciences computer.programming_language |
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 |
Externí odkaz: |