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 | Grammars & MetamodellingSLE 2018 at Studio 1 Chair(s): Thomas Degueule Centrum Wiskunde & Informatica | ||
13:30 30mTalk | Facet-Oriented Modelling: Open Objects for Model-Driven Engineering SLE 2018 Juan de Lara Universidad Autónoma de Madrid, Esther Guerra Universidad Autónoma de Madrid, Jörg Kienzle McGill University, Canada, Yanis Hattab McGill University | ||
14:00 30mTalk | Analysing Meta-Model Product Lines SLE 2018 Esther Guerra Universidad Autónoma de Madrid, Juan de Lara Universidad Autónoma de Madrid, Marsha Chechik University of Toronto, Rick Salay University of Toronto | ||
14:30 30mTalk | Translating Grammars to Accurate Metamodels SLE 2018 Arvid Butting Software Engineering RWTH Aachen University, Nico Jansen Software Engineering, RWTH Aachen University, Bernhard Rumpe RWTH Aachen University, Andreas Wortmann RWTH Aachen University |