Parsing Theory. Volume 2: LR(k) and LL(k) Parsing

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

This work is Volume II of a two-volume monograph on the theory of deterministic parsing of context-free grammars. Volume I, "Languages and Parsing" (Chapters 1 to 5), was an introduction to the basic concepts of formal language theory and context-free parsing. Volume II (Chapters 6 to 10) contains a thorough treatĀ­ ment of the theory of the two most important deterministic parsing methods: LR(k) and LL(k) parsing. Volume II is a continuation of Volume I; together these two volumes form an integrated work, with chapters, theorems, lemmas, etc. numbered consecutively. Volume II begins with Chapter 6 in which the classical conĀ­ structions pertaining to LR(k) parsing are presented. These include the canonical LR(k) parser, and its reduced variants such as the LALR(k) parser and the SLR(k) parser. The grammarclasses for which these parsers are deterministic are called LR(k) grammars, LALR(k) grammars and SLR(k) grammars; properties of these grammars are also investigated in Chapter 6. A great deal of attention is paid to the rigorous development of the theory: detailed mathematical proofs are provided for most of the results presented.

Author(s): Seppo Sippu, Eljas Soisalon-Soininen
Series: EATCS Monographs on Theoretical Computer Science 20
Publisher: Springer
Year: 1990

Language: English
Pages: 432
Tags: Mathematical Logic and Formal Languages; Programming Languages, Compilers, Interpreters; Language Translation and Linguistics

Front Matter....Pages I-IX
LR( k ) Parsing....Pages 1-118
Construction and Implementation of LR(1) Parsers....Pages 119-196
LL( k ) Parsing....Pages 197-287
Syntax Error Handling....Pages 289-327
Testing Grammars for Parsability....Pages 329-409
Back Matter....Pages 411-427