Title of article
GLL parse-tree generation
Author/Authors
Elizabeth Scott and Adrian Johnstone ، نويسنده , , Adrian Johnstone، نويسنده ,
Issue Information
ماهنامه با شماره پیاپی سال 2013
Pages
17
From page
1828
To page
1844
Abstract
Backtracking techniques which are often used to extend recursive descent (RD) parsers can have explosive run-times and cannot deal with grammars with left recursion. GLL parsers are fully general, worst-case cubic parsers which have the recursive descent-like property that they are easy to write and to use for grammar debugging. They have the direct relationship with the grammar that an RD parser has. In this paper we give an algorithm for generating GLL parsers which build an SPPF representation of the derivations of the input, complementing our existing GLL recognition algorithm, and we show that such parsers and recognisers are worst-case cubic.
Keywords
Recursive descent , Generalised parsing , RNGLR and RIGLR parsing , Context free languages , GLL parsing
Journal title
Science of Computer Programming
Serial Year
2013
Journal title
Science of Computer Programming
Record number
1080413
Link To Document