Sciweavers

DLT
2006

Noncanonical LALR(1) Parsing

14 years 26 days ago
Noncanonical LALR(1) Parsing
This paper addresses the longstanding problem of the recognition limitations of classical LALR(1) parser generators by proposing the usage of noncanonical parsers. To this end, we present a definition of noncanonical LALR(1) parsers, NLALR(1). The class of grammars accepted by NLALR(1) parsers is a proper superclass of the NSLR(1) and LALR(1) grammar classes. Among the recognized languages are some nondeterministic languages. The proposed parsers retain many of the qualities of canonical LALR(1) parsers: they are deterministic, easy to construct, and run in linear time. We argue that they could provide the basis for a range of powerful noncanonical parsers. Key words: Noncanonical parser, deterministic parser, LALR, two-stack automaton ACM categories: D.3.1 [Programming Languages]: Formal Definitions and Theory--Syntax ; D.3.4 [Programming Languages]: Processors-Parsing ; F.4.2 [Mathematical Logic and Formal Languages]: Grammars and Other Rewriting Systems--Parsing
Sylvain Schmitz
Added 30 Oct 2010
Updated 30 Oct 2010
Type Conference
Year 2006
Where DLT
Authors Sylvain Schmitz
Comments (0)