Parsing theory. Volume II: LR (k) and LL (k) parsing
The authors' preface to this second volume of the monograph represents a very good pattern for a concentrated but comprehensive review to the book. We shall follow it in certain respects. Chapter 6 (Chapters 1-5 belong to Vol. I) presents the classical constructions of LR(k) parsing. These constructions include the canonical LR(k) parser (a right parser which uses ḵ-length lookahead strings and whose stack strings consist of equivalent classes of viable prefixes), and its reduced variants such as the LALR(k) and SLR(k) parsers. Formal properties of the corresponding LR(k), LALR(k), and SLR(k) grammars are investigated. All the results are provided with detailed mathematical proofs. Chapter 7 is devoted to practical issues involved in the construction and use of deterministic LR(1) parsers. Constructions of the LR(0), SLR(1), canonical LR(1), and LALR(1) parsers are given. An efficient algorithm for determining the lookahead symbols for the ``reduce actions of an LALR(1) parser is considered. There are developed methods for optimizing LR(0)-based LR(1) parsers on the basis of inessential error entries. Detailed algorithms are given, and used to merge compatible states of the parser and to eliminate reductions by unit rules from the parser. Finally for this section, LR(1) parsers for ambiguous grammars are considered. In Chapter 8 there is generalized the strong LL(k) to canonical LL(k) (and LALL(k)) parsers, defined as counterparts of the canonical LR(k) (and LALR(k)) parsers. The (duality) relationship between the LL(k) and LR(k) grammars is studied, and methods for transforming LR(k) into LL(k) grammars are provided. Chapter 9 analyses algorithms for (syntax) error recovery in LL(1) and LR(1) parsing, as well as syntax error reporting. Chapter 10 is studying the computational complexity of testing grammars for (LR(k), LL(k), LALR(k) etc.) parsability. Efficient polynomial-time algorithms are developed for LR(k), SLR(k), LL(k), and SLL(k), with ḵ fixed, upper and lower bounds for LALR(k) and LALL(k) are established. Complexity results are given in case ḵ is a parameter of the testing problems. A final remark: each chapter ends with substantial and very useful sets of exercises, and conversant bibliographic notes. As in every monograph, it can not cover everything in the field, but essentially is that the book thoroughly cover the classical topics with complete mathematical accuracy. The present monograph can be labeled as a serious and useful construction, instrument, and guide for all that study or apply parsing, from compiler construction to natural language processing.
- Producing the left parse during bottom-up parsing
- A Yacc extension for LRR grammar parsing
- SLR(1) and LALR(1) parsing for unrestricted grammars
- Looping LR parsers
- Semantic routines and \(LR(k)\) parsers
- Recursive ascent parsing: From Earley to Marcus
- LR(k)-coupled-context-free grammars
- The validation of SGML content models
- On the size of parsers and \(\text{LR}(k)\)-grammars
- Size/lookahead tradeoff for \(LL(k)\)-grammars
- An LR parser with pre-determined reduction goals
- On the prediction of reduction goals: A deterministic approach
- Truly prefix-correct chain-free LR(1) parsers
- Some observations on LR-like parsing with delayed reduction
- A hitchhiker's guide to descriptional complexity through analytic combinatorics
- scientific article; zbMATH DE number 3843162 (Why is no real title available?)
- On the correct elimination of chain productions from lr parsers
- scientific article; zbMATH DE number 3856438 (Why is no real title available?)
- scientific article; zbMATH DE number 3860423 (Why is no real title available?)
- LR parsing for global index languages (GILs)
- Noncanonical LALR(1) Parsing
- scientific article; zbMATH DE number 3915654 (Why is no real title available?)
- A short proof of a conjecture of De Remer and Pennello
- scientific article; zbMATH DE number 4033120 (Why is no real title available?)
- scientific article; zbMATH DE number 4033121 (Why is no real title available?)
- SL parses the LR languages
- A general model for fixed look-ahead lr parsers
- scientific article; zbMATH DE number 4100631 (Why is no real title available?)
- Parsing theory. Vol. I: Languages and parsing
- scientific article; zbMATH DE number 2050923 (Why is no real title available?)
- Grammar partitioning and modular deterministic parsing
- scientific article; zbMATH DE number 827977 (Why is no real title available?)
- Parse condition: symbolic encoding of LL(1) parsing
- Efficient LR(1) processor construction
- Complexity of extended vs. classic LR parsers
- Yet another generation of LALR parsers for regular right part grammars
- On parsing LL-languages
- On the reduction of \(LR(k)\) parsers
- An improved LALR\((k)\) parser generation for regular right part grammars
- On the complexity of LL(k) testing
- LR error repair using the A* algorithm
This page was built for publication: Parsing theory. Volume II: LR (k) and LL (k) parsing
Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q4040864)