A technique for speeding up LR(k) parsers

Alfred V. Aho, Jeffrey David Ullman · 1972

We present a new transformation that reduces the size and increases the speed of LR(k) parsers. This transformation can be applied to all LR(k) parsers including those produced by Knuth's and DeRemer's techniques. The transformation causes the parser to avoid reductions by productions of the form A → B where A and B are non-terminals.

Read the paper · More papers on PaperTik