The ModelCC Model-Based Parser Generator
Luis Quesada, Fernando Berzal, Juan-Carlos Cubero

TL;DR
ModelCC is a model-based parser generator that separates language specification from processing, enabling easier modifications and supporting abstract syntax graphs through integrated reference resolution.
Contribution
It introduces a novel approach that decouples language design from processing, reducing maintenance effort and supporting complex data structures.
Findings
Supports abstract syntax graphs from input strings
Reduces effort in language specification updates
Integrates reference resolution in parsing
Abstract
Formal languages let us define the textual representation of data with precision. Formal grammars, typically in the form of BNF-like productions, describe the language syntax, which is then annotated for syntax-directed translation and completed with semantic actions. When, apart from the textual representation of data, an explicit representation of the corresponding data structure is required, the language designer has to devise the mapping between the suitable data model and its proper language specification, and then develop the conversion procedure from the parse tree to the data model instance. Unfortunately, whenever the format of the textual representation has to be modified, changes have to propagated throughout the entire language processor tool chain. These updates are time-consuming, tedious, and error-prone. Besides, in case different applications use the same language,…
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.
Taxonomy
TopicsModel-Driven Software Engineering Techniques · Software Testing and Debugging Techniques · Natural Language Processing Techniques
