Global Information Lookup Global Information

GLR parser information


A GLR parser (generalized left-to-right rightmost derivation parser) is an extension of an LR parser algorithm to handle non-deterministic and ambiguous grammars.[1] The theoretical foundation was provided in a 1974 paper[2] by Bernard Lang (along with other general context-free parsers such as GLL). It describes a systematic way to produce such algorithms, and provides uniform results regarding correctness proofs, complexity with respect to grammar classes, and optimization techniques. The first actual implementation of GLR was described in a 1984 paper by Masaru Tomita, it has also been referred to as a "parallel parser". Tomita presented five stages in his original work,[3] though in practice it is the second stage that is recognized as the GLR parser.

Though the algorithm has evolved since its original forms, the principles have remained intact. As shown by an earlier publication,[4] Lang was primarily interested in more easily used and more flexible parsers for extensible programming languages. Tomita's goal was to parse natural language text thoroughly and efficiently. Standard LR parsers cannot accommodate the nondeterministic and ambiguous nature of natural language, and the GLR algorithm can.

  1. ^ Masaru Tomita (6 December 2012). Generalized LR Parsing. Springer Science & Business Media. ISBN 978-1-4615-4034-2.
  2. ^ Cite error: The named reference Lang74 was invoked but never defined (see the help page).
  3. ^ Cite error: The named reference Tomita was invoked but never defined (see the help page).
  4. ^ Cite error: The named reference Lang71 was invoked but never defined (see the help page).

and 18 Related for: GLR parser information

Request time (Page generated in 1.2356 seconds.)

GLR parser

Last Update:

A GLR parser (generalized left-to-right rightmost derivation parser) is an extension of an LR parser algorithm to handle non-deterministic and ambiguous...

Word Count : 850

GLR

Last Update:

sub-label of the Japanese clothing brand United Arrows GLRA2, a protein GLR parser Glycine receptor Greater London Radio, now BBC Radio London Grupo Latino...

Word Count : 119

LALR parser generator

Last Update:

types of parser generators, such as Simple LR parser, LR parser, GLR parser, LL parser and GLL parser generators. What differentiates one from another...

Word Count : 789

Parsing expression grammar

Last Update:

some inputs, the depth of the parse tree can be proportional to the input size, so both an LR parser and a packrat parser will appear to have the same...

Word Count : 6426

LR parser

Last Update:

parsers: SLR parsers, LALR parsers, canonical LR(1) parsers, minimal LR(1) parsers, and generalized LR parsers (GLR parsers). LR parsers can be generated...

Word Count : 8128

Parsing

Last Update:

parser LALR (look-ahead LR) parser Operator-precedence parser SLR (Simple LR) parser Simple precedence parser Packrat parser: a linear time parsing algorithm...

Word Count : 4857

Scannerless parsing

Last Update:

processing into a lexer followed by a parser is more modular; scannerless parsing is primarily used when a clear lexer–parser distinction is unneeded or unwanted...

Word Count : 504

CYK algorithm

Last Update:

to a constant-size grammar. GLR parser Earley parser Packrat parser Inside–outside algorithm Grune, Dick (2008). Parsing techniques : a practical guide...

Word Count : 2179

Comparison of parser generators

Last Update:

2023-11-30. "The Lezer Parser System". "Building a ShopifyQL Code Editor". Shopify. Retrieved 2023-12-06. "Sponsoring the Lezer parser system | Tines". www...

Word Count : 1106

GNU Bison

Last Update:

and %parse-param declarations. %{ /* * Parser.y file * To generate the parser run: "bison Parser.y" */ #include "Expression.h" #include "Parser.h" #include...

Word Count : 2306

Ambiguous grammar

Last Update:

and Nicaud (2011). GLR parser, a type of parser for ambiguous and nondeterministic grammars Chart parser, another type of parser for ambiguous grammars...

Word Count : 1820

Syntax Definition Formalism

Last Update:

operate using the SGLR (Scannerless GLR parser). An SDF parser outputs parse trees or, in the case of ambiguities, parse forests. Features of SDF: Supports...

Word Count : 223

Scannerless Boolean Parser

Last Update:

The Scannerless Boolean Parser is an open-source scannerless GLR parser generator for boolean grammars. It was implemented in the Java programming language...

Word Count : 51

List of algorithms

Last Update:

for parsing context-free grammars in Chomsky normal form Earley parser: another O(n3) algorithm for parsing any context-free grammar GLR parser: an algorithm...

Word Count : 7843

Language workbench

Last Update:

generating parsers, type checkers, compilers, interpreters, as well as IDE plugins for Eclipse and IntelliJ. It uses SDF and a scannerless GLR parser for syntax...

Word Count : 590

Masaru Tomita

Last Update:

as the founder of the E-Cell simulation system and/or the inventor of GLR parser algorithm. He served a professor of Keio University, Director of the Institute...

Word Count : 500

DMS Software Reengineering Toolkit

Last Update:

programmer as the original text modulo any applied transformations. DMS uses GLR parsing technology with semantic predicates. This enables it to handle all context-free...

Word Count : 903

TPEG

Last Update:

machine-readable and it can be easily rendered in navigation devices by parsing the XML structure. It is further backwards compatible in a way that new...

Word Count : 1557

PDF Search Engine © AllGlobal.net