Model Driven Analysis and Synthesis of Concrete Syntax

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 bi-directional mapping-models with support for both model-to-text, and text-to-model transformations.

Published in:
Model Driven Engineering Languages and Systems, 9th International Conference, MoDELS 2006, Genoa, Italy, October 2006, 4199, 98-110
Presented at:
Models/UML 2006, Genoa, October 1-6 2006
Other identifiers:

 Record created 2006-06-15, last modified 2018-01-27

Rate this document:

Rate this document:
(Not yet reviewed)