Average-Case Parsing of Unambiguous Context-Free Grammars
cs.FL
Submitted: 2026-11-28
Updated: 2026-12-01
Comments: 9 pages, under submission
License: http://creativecommons.org/licenses/by/4.0/
The gist: We show that every fixed unambiguous context-free grammar admits a deterministic parser with expected running time O(n 1.5) on a uniformly random word of length n.
Abstract
We show that every fixed unambiguous context-free grammar admits a deterministic parser with expected running time O(n 1.5) on a uniformly random word of length n. The parser utilizes a certain form of sparsity estimate supplied by the unambiguity itself.
Related papers
- Quantitative Verification of Infinite-State Networks
- Star Complexity of Parikh Images of Languages over Infinite Alphabets
- A Myhill-Nerode Theorem for Generalized Automata, with Applications to Pattern Matching and Compression
- A Unary-to-Nonunary Transition in the Accepting-State Spectrum of Right Quotient for Permutation Automata
- Positive-Data Learning of Fixed-Observation Linear MCFGs from Working Binary Presentations
- On the Separability Problem of VASS Reachability Languages