A DSL for Mapping Abstract Syntax Models to Concrete Syntax Models in\n ModelCC
Luis Quesada, Fernando Berzal, Juan-Carlos Cubero
Abstract
Open-access reader
Luis Quesada, Fernando Berzal, Juan-Carlos Cubero
Abstract
Open-access reader
ModelCC is a model-based parser generator that decouples language design from\nlanguage processing. ModelCC provides two different mechanisms to specify the\nmapping from an abstract syntax model to a concrete syntax model: metadata\nannotations defined on top of the abstract syntax model specification and a\ndomain-specific language for defining ASM-CSM mappings. Using a domain-specific\nlanguage to specify the mapping from abstract to concrete syntax models allows\nthe definition of multiple concrete syntax models for the same abstract syntax\nmodel. In this paper, we describe the ModelCC domain-specific language for\nabstract syntax model to concrete syntax model mappings and we showcase its\ncapabilities by providing a meta-definition of that domain-specific language.\n
A significance statement is not available in the OpenAlex record.
A contribution statement is not available in the OpenAlex record.
Method details are not available in the OpenAlex metadata.
Findings are not separately available in the OpenAlex metadata.
Limitations are not available in the OpenAlex metadata.
Application details are not available in the OpenAlex metadata.
ModelCC is a model-based parser generator that decouples language design from\nlanguage processing. ModelCC provides two different mechanisms to specify the\nmapping from an abstract syntax model to a concrete syntax model: metadata\nannotations defined on top of the abstract syntax model specification and a\ndomain-specific language for defining ASM-CSM mappings. Using a domain-specific\nlanguage to specify the mapping from abstract to concrete syntax models allows\nthe definition of multiple concrete syntax models for the same abstract syntax\nmodel. In this paper, we describe the ModelCC domain-specific language for\nabstract syntax model to concrete syntax model mappings and we showcase its\ncapabilities by providing a meta-definition of that domain-specific language.\n
Key concepts: Syntax, Abstract syntax, Computer science, Programming language, Parsing, Syntax error, Domain (mathematical analysis), Abstract syntax tree