Traditional grammar-driven language specification techniques constrain language designers to specific kinds of grammars. In contrast, model-based language specification techniques decouple language design from language processing. They allow the occurrence of ambiguities and the declarative specification of constraints for solving them. As a result, these techniques require general parser generators, which should be able to parse context-free grammars, handle ambiguities, and enforce constraints to disambiguate them as desired by the language designer. In this paper, we describe Fence, a bottom-up chart parser with lexical and syntactic ambiguity support. Fence accepts lexical analysis graphs outputted by the Lamb (Lexical AMBiguity) lexer and efficiently resolves ambiguities by means of the declarative specification of constraints. Both Lamb and Fence are part of the ModelCC model-based parser generator. © Springer-Verlag Berlin Heidelberg 2013.
CITATION STYLE
Quesada, L., Berzal, F., & Cortijo, F. J. (2013). Fencing the Lamb: A Chart Parser for ModelCC. In Communications in Computer and Information Science (Vol. 411 CCIS, pp. 21–35). Springer Verlag. https://doi.org/10.1007/978-3-642-45404-2_2
Mendeley helps you to discover research relevant for your work.