Even faster lr parsing

R. Nigel Horspool, Michael J. Whitney · Software Practice and Experience · 1990

Abstract Conventional LR parser generators create tables which are used to drive a standard parser procedure. Much faster parsers can be obtained by compiling the table entries into code that is directly executed. A possible drawback with a directly executable parser is its large size. In this paper, we introduce optimization techniques that increase the parsing speed even further while simultaneously reducing the size of the parser.

Read the paper · More papers on PaperTik