Derivation and Refinement of Textual Syntax for Models

  • Authors:
  • Florian Heidenreich;Jendrik Johannes;Sven Karol;Mirko Seifert;Christian Wende

  • Affiliations:
  • Institut für Software- und Multimediatechnik, Technische Universität Dresden, Dresden, Germany D-01062;Institut für Software- und Multimediatechnik, Technische Universität Dresden, Dresden, Germany D-01062;Institut für Software- und Multimediatechnik, Technische Universität Dresden, Dresden, Germany D-01062;Institut für Software- und Multimediatechnik, Technische Universität Dresden, Dresden, Germany D-01062;Institut für Software- und Multimediatechnik, Technische Universität Dresden, Dresden, Germany D-01062

  • Venue:
  • ECMDA-FA '09 Proceedings of the 5th European Conference on Model Driven Architecture - Foundations and Applications
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

Textual Syntax (TS) as a form of model representation has made its way to the Model-Driven Software Development community and is considered a viable alternative to graphical representations. To support the design and implementation of text editing facilities many concrete syntax and model mapping tools have emerged. Despite the maturity of these tools, users still spend considerable effort to specify syntaxes and generate editors even for simple metamodels. To reduce this effort, we propose to refine a specification that is automatically derived from a given metamodel. We argue that defaults in a customisable setting enable developers to quickly realise text-based editors for models. In particular in settings where metamodels evolve, such a procedure is beneficial. To evaluate this idea we present EMFText [1], an EMF/Eclipse integrated tool for agile Textual Syntax (TS) development. We show how default syntax can easily be tailored and refined to obtain a custom text editor for EMF models and demonstrate our approach by two examples.