The ModelCC Model-Driven Parser Generator
Autor: | Fernando Berzal Galiano, Francisco J. Cortijo, Juan C. Cubero, Luis Quesada |
---|---|
Jazyk: | angličtina |
Rok vydání: | 2015 |
Předmět: |
FOS: Computer and information sciences
Computer Science - Programming Languages Parsing Generator (computer programming) Formal Languages and Automata Theory (cs.FL) Computer science business.industry lcsh:Mathematics Electrical engineering Computer Science - Formal Languages and Automata Theory computer.software_genre lcsh:QA1-939 lcsh:QA75.5-76.95 TheoryofComputation_MATHEMATICALLOGICANDFORMALLANGUAGES lcsh:Electronic computers. Computer science business computer Programming Languages (cs.PL) |
Zdroj: | Electronic Proceedings in Theoretical Computer Science, Vol 173, Iss Proc. PROLE 2014, Pp 56-70 (2015) PROLE |
ISSN: | 2075-2180 |
Popis: | 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 abstract syntax trees. Comment: In Proceedings PROLE 2014, arXiv:1501.01693 |
Databáze: | OpenAIRE |
Externí odkaz: |