2013arXiv (Cornell University)Open access

A DSL for Mapping Abstract Syntax Models to Concrete Syntax Models in\n ModelCC

Luis Quesada, Fernando Berzal, Juan-Carlos Cubero

Open full text 0 citations

Abstract

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

Open-access reader

About this research paper

What this paper is about

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

Why it matters

A significance statement is not available in the OpenAlex record.

Key contribution

A contribution statement is not available in the OpenAlex record.

Method / approach

Method details are not available in the OpenAlex metadata.

Main findings

Findings are not separately available in the OpenAlex metadata.

Limitations

Limitations are not available in the OpenAlex metadata.

Applications

Application details are not available in the OpenAlex metadata.

Available abstract

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

Related papers

Back to paper searchBrowse research topicsOriginal source
A DSL for Mapping Abstract Syntax Models to Concrete Syntax Models in\n ModelCC — Research Paper | ScholarLens