The ModelCC Model-Driven Parser Generator
Fernando Berzal (Universidad de Granada), Francisco J. Cortijo, (Universidad de Granada), Juan-Carlos Cubero (Universidad de Granada), Luis, Quesada (Universidad de Granada)

TL;DR
ModelCC is a model-driven parser generator that separates language design from processing, enabling automatic parser creation from conceptual models and supporting complex syntax graphs.
Contribution
It introduces a novel approach that decouples language specification from processing, overcoming limitations of traditional grammar-based parser generators.
Findings
Automates parser generation from conceptual models
Supports instantiation of abstract syntax graphs
Reduces dependency on formal grammar specifications
Abstract
Syntax-directed translation tools require the specification of a language by means of a formal grammar. This grammar must conform to the specific requirements of the parser generator to be used. This grammar is then annotated with semantic actions for the resulting system to perform its desired function. In this paper, we introduce ModelCC, a model-based parser generator that decouples language specification from language processing, avoiding some of the problems caused by grammar-driven parser generators. ModelCC receives a conceptual model as input, along with constraints that annotate it. It is then able to create a parser for the desired textual syntax and the generated parser fully automates the instantiation of the language conceptual model. ModelCC also includes a reference resolution mechanism so that ModelCC is able to instantiate abstract syntax graphs, rather than mere…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
