Model-driven analysis and synthesis of concrete syntax

Abstract : Metamodeling is raising more and more interest in the field of language engineering. While this approach is now well understood for defining abstract syntaxes, formally defining concrete syntaxes with metamodels is still a challenge. Concrete syntaxes are traditionally expressed with rules, conforming to EBNF-like grammars, which can be processed by compiler compilers to generate parsers. Unfortunately, these generated parsers produce concrete syntax trees, leaving a gap with the abstract syntax defined by metamodels, and further ad-hoc hand-coding is required. In this paper we propose a new kind of specification for concrete syntaxes, which takes advantage of metamodels to generate fully operational tools (such as parsers or text generators). The principle is to map abstract syntaxes to concrete syntaxes via bidirectional mapping-models with support for both model-to-text, and text-to-model transformations.
Document type :
Conference papers
Complete list of metadatas

https://hal.inria.fr/hal-00795597
Contributor : Jean-Marc Jézéquel <>
Submitted on : Monday, March 11, 2013 - 10:28:46 AM
Last modification on : Friday, June 7, 2019 - 4:10:13 PM
Long-term archiving on : Monday, June 17, 2013 - 11:12:30 AM

File

Muller06a.pdf
Files produced by the author(s)

Identifiers

  • HAL Id : hal-00795597, version 1

Citation

Pierre-Alain Muller, Franck Fleurey, Frédéric Fondement, Michel Hassenforder, Rémi Schneckenburger, et al.. Model-driven analysis and synthesis of concrete syntax. Proceedings of the MoDELS/UML 2006, Oct 2006, Genova, Italy. ⟨hal-00795597⟩

Share

Metrics

Record views

419

Files downloads

392