scientific article; zbMATH DE number 53315

From MaRDI portal
Publication:4003540





Generalized LR parsing (GLR) is a generalization of the famous LR parsing algorithm. GLR was invented by Masaru Tomita. GLR is able to work for all context-free languages. GLR uses a so called graph structure stack (GSS) --- a generalization of a common stack. It is conjectured that GLR has quite good properties for ``reasonable languages (e.g. the natural ones). The book is a collection of selected papers on GLR, the most of which were presented at a Workshop on Parsing Technologies (Pittsburgh, 1989). The book contains a tutorial on GLR by Tomita. \textit{Patrick Shann} compares the efficiency of GLR with several known algorithms used as a benchmark of parsers efficiency. GLR seems to be the best, but the differences are not too dramatic and are probably due to the GLR parse forest representation \textit{Mark Johnson} shows that for every positive \(m\) there is a grammar \(G_ m\) so that GLR accepts strings of the length \(n\) in time \(\Omega(n^ m)\) --- a very negative result. \textit{R. Kipps} presents a modification of GLR with the time complexity \(\Omega(n^ 3)\). \textit{Keh-Yih Su} with several coauthors invented an efficient modification of GLR based on a score function (speed-up from 1.3 to 103 on a set of examples). The book includes papers on logic programming implementation of GLR, problems with \(\varepsilon\)-grammars, errorneous input and probabilistic aspects of GLR (e.g. signal processing). It contains no exhaustive study how effective GLR is for ``real-life grammars and languages.











This page was built for publication:

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q4003540)