A Tool for Model-Based Language Specification
Luis Quesada, Fernando Berzal, Juan-Carlos Cubero

TL;DR
This paper introduces a model-based parser generator that separates language specification from processing, reducing maintenance effort and errors compared to traditional grammar-driven tools.
Contribution
It presents a novel approach to language specification that decouples syntax definition from data processing, improving flexibility and reusability.
Findings
Reduces update time when language formats change
Simplifies maintenance of multiple language specifications
Enhances reusability across different applications
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 · Formal Methods in Verification · Service-Oriented Architecture and Web Services
