Title
Translating grammars to accurate metamodels.
Abstract
There is a software language engineering gap between metamodel-based languages and grammar-based languages. Grammars can support 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 cursory translations only, which requires re-engineering intricacies natural to grammars for the metamodels again. We conceived a translation from an EBNF-like syntax to Ecore metamodels that considers the grammars’ intricacies. This translation is realized as a fully automated toolchain from grammars into Ecore & OCL using the language workbench MontiCore. Using this translation enables grammar-based languages to leverage the benefits of Ecore-compatible language tools while supporting natural definition of concrete and abstract syntax.
Year
DOI
Venue
2018
10.1145/3276604.3276605
SLE '18: 11th ACM SIGPLAN International Conference on Software Language Engineering Boston MA USA November, 2018
Keywords
Field
DocType
Grammarware, Metamodels, Language Translation
Rule-based machine translation,Programming language,Language translation,Computer science,Grammar,Interpreter,Abstract syntax,Syntax,Metamodeling,Toolchain
Conference
ISBN
Citations 
PageRank 
978-1-4503-6029-6
0
0.34
References 
Authors
16
4
Name
Order
Citations
PageRank
Arvid Butting1113.18
Nico Jansen202.70
Bernhard Rumpe32691313.45
Andreas Wortmann416330.41