model-based parser generators such as modelCC effectively decouple language design from language processing. modelCC allows the specification of the abstract syntaxmodel of a language as a set of language elements an...
详细信息
ISBN:
(纸本)9789897580659
model-based parser generators such as modelCC effectively decouple language design from language processing. modelCC allows the specification of the abstract syntaxmodel of a language as a set of language elements and their relationships. modelCC provides the necessary mechanisms to specify the mapping from the abstract syntaxmodel (ASM) to a concrete syntax model (CSM). This mapping can be specified as a set of metadata annotations on top of the abstract syntaxmodel 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 syntaxmodel. 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.
暂无评论