Software language engineering is subject to a gap between grammar-based languages and metamodel-based languages. Grammars can feature integrated definition of concrete syntax and abstract syntax, which facilitates processing models, but usually prevents reusing the variety of language tools operating on Ecore metamodels (such as editors, interpreters, debuggers, etc.). Existing work on translating grammars to Ecore metamodels features very Coarse translations only, which requires re-engineering intricacies natural with grammars for the metamodels again. We conceived a translation from an EBNF-like syntax to Ecore metamodels that considers these intricacies. This translation is realized as a fully automated transformation from grammars into Ecore & OCL using the language workbench MontiCore. Using this translation enables grammar-based languages to leverage the benefits of Ecorecompatible language tools while supporting natural definition of concrete and abstract syntax.
Tue 6 NovDisplayed time zone: Guadalajara, Mexico City, Monterrey change
13:30 - 15:00
|Facet-Oriented Modelling: Open Objects for Model-Driven Engineering
|Analysing Meta-Model Product Lines
|Translating Grammars to Accurate Metamodels