Generalized LR Parsing

Generalized LR Parsing
Author :
Publisher : Springer Science & Business Media
Total Pages : 172
Release :
ISBN-10 : 9781461540342
ISBN-13 : 1461540348
Rating : 4/5 (348 Downloads)

Book Synopsis Generalized LR Parsing by : Masaru Tomita

Download or read book Generalized LR Parsing written by Masaru Tomita and published by Springer Science & Business Media. This book was released on 2012-12-06 with total page 172 pages. Available in PDF, EPUB and Kindle. Book excerpt: The Generalized LR parsing algorithm (some call it "Tomita's algorithm") was originally developed in 1985 as a part of my Ph.D thesis at Carnegie Mellon University. When I was a graduate student at CMU, I tried to build a couple of natural language systems based on existing parsing methods. Their parsing speed, however, always bothered me. I sometimes wondered whether it was ever possible to build a natural language parser that could parse reasonably long sentences in a reasonable time without help from large mainframe machines. At the same time, I was always amazed by the speed of programming language compilers, because they can parse very long sentences (i.e., programs) very quickly even on workstations. There are two reasons. First, programming languages are considerably simpler than natural languages. And secondly, they have very efficient parsing methods, most notably LR. The LR parsing algorithm first precompiles a grammar into an LR parsing table, and at the actual parsing time, it performs shift-reduce parsing guided deterministically by the parsing table. So, the key to the LR efficiency is the grammar precompilation; something that had never been tried for natural languages in 1985. Of course, there was a good reason why LR had never been applied for natural languages; it was simply impossible. If your context-free grammar is sufficiently more complex than programming languages, its LR parsing table will have multiple actions, and deterministic parsing will be no longer possible.

Generalized LR Parsing Related Books

Generalized LR Parsing
Language: en
Pages: 172
Authors: Masaru Tomita
Categories: Computers
Type: BOOK - Published: 2012-12-06 - Publisher: Springer Science & Business Media

GET EBOOK

The Generalized LR parsing algorithm (some call it "Tomita's algorithm") was originally developed in 1985 as a part of my Ph.D thesis at Carnegie Mellon Univers
Generalized LR Parsing
Language: en
Pages: 194
Authors: Masaru Tomita
Categories: Computers
Type: BOOK - Published: 1991-08-31 - Publisher: Springer Science & Business Media

GET EBOOK

The Generalized LR parsing algorithm (some call it "Tomita's algorithm") was originally developed in 1985 as a part of my Ph.D thesis at Carnegie Mellon Univers
Parsing Techniques
Language: en
Pages: 677
Authors: Dick Grune
Categories: Computers
Type: BOOK - Published: 2007-10-29 - Publisher: Springer Science & Business Media

GET EBOOK

This second edition of Grune and Jacobs’ brilliant work presents new developments and discoveries that have been made in the field. Parsing, also referred to
Introduction to Compilers and Language Design
Language: en
Pages: 248
Authors: Douglas Thain
Categories: Computers
Type: BOOK - Published: 2016-09-20 - Publisher: Lulu.com

GET EBOOK

A compiler translates a program written in a high level language into a program written in a lower level language. For students of computer science, building a
Developments in Language Theory
Language: en
Pages: 419
Authors: Clelia De Felice
Categories: Computers
Type: BOOK - Published: 2005-06-20 - Publisher: Springer Science & Business Media

GET EBOOK

This book constitutes the refereed proceedings of the 9th International Conference on Developments in Language Theory, DLT 2005, held in Palermo, Italy in July