vix.ing · top · new · best · stats · spec

A Constraint-Satisfaction Parser for Context-Free Grammars

2011/10/07 by Luis Quesada, Quesada, Luis, Fernando Berzal +3
Computer Science · #Computation and Language (cs.CL) #FOS: Computer and information sciences #Model-Driven Software Engineering Techniques #Natural Language Processing Techniques #Software Testing and Debugging Techniques

paper · pdf · doi:10.48550/arxiv.1110.1470

openalex publication_date 2011/10/07 · openalex created_date 2025/10/10 · openalex updated_date 2026/07/28

Abstract

Traditional language processing tools constrain language designers to specific kinds of grammars. In contrast, model-based language specification decouples language design from language processing. As a consequence, model-based language specification tools need general parsers able to parse unrestricted context-free grammars. As languages specified following this approach may be ambiguous, parsers must deal with ambiguities. Model-based language specification also allows the definition of associativity, precedence, and custom constraints. Therefore parsers generated by model-driven language specification tools need to enforce constraints. In this paper, we propose Fence, an efficient bottom-up chart parser with lexical and syntactic ambiguity support that allows the specification of constraints and, therefore, enables the use of model-based language specification in practice.

Related