Authors:
Luis Quesada
;
Fernando Berzal
and
Juan-Carlos Cubero
Affiliation:
University of Granada and CITIC, Spain
Keyword(s):
Model-driven Software Development, Language Specification, Parser Generators, Abstract Syntax Model, Concrete Syntax Model.
Related
Ontology
Subjects/Areas/Topics:
Agile Model-Driven Development
;
Domain-Specific Modeling and Domain-Specific Languages
;
General-Purpose Modeling Languages and Standards
;
Languages, Tools and Architectures
;
Methodologies, Processes and Platforms
;
Model-Driven Architecture
;
Model-Driven Software Development
;
Software Engineering
Abstract:
Model-based parser generators such as ModelCC effectively decouple language design from language processing. ModelCC allows the specification of the abstract syntax model of a language as a set of language elements and their relationships. ModelCC provides the necessary mechanisms to specify the mapping from the abstract syntax model (ASM) to a concrete syntax model (CSM). This mapping can be specified as a set of metadata annotations on top of the abstract syntax model itself or by means of a domain-specific language
(DSL). Using a domain-specific language to specify the mapping from abstract to concrete syntax models allows the definition of different concrete syntax models for the same abstract syntax model. In this paper, we describe the ModelCC domain-specific language for ASM-CSM mappings and we showcase its capabilities by using the ModelCC ASM-CSM DSL to define itself.