Reusing Metamodels and Notation with Diagram Definition
Conrad E. Bock, Maged Elaasar
It is increasingly common for language specifications to separate visual forms (concrete syntax) from underlying concepts (abstract syntax), enabling languages to define multiple visual forms for the same underlying concepts, and for the same visual form to be used for similar underlying concepts in different languages. Visual forms can be adapted to communities using different notations for the same concepts, and can be used to integrate communities using the same notation for similar concepts. Models of concrete syntax have been available for some time, but are rarely used to capture these many-to-many relationships with abstract syntax. This paper shows how to model these relationships using concrete graphical syntax expressed in the Diagram Definition standard, examining cases drawn from the Unified Modeling Language and the Business Process Model and Notation.