[Home]LALR parser

HomePage | Recent Changes | Preferences

Difference (from prior major revision) (no other diffs)

Changed: 3c3
The LALR algorithm produces LR parsers; they are used for recognizing strings from the language of a [context free grammar]?.
The LALR algorithm produces LR parsers; they are used for recognizing strings from the language of a context-free grammar.

Changed: 9c9
Yacc uses the Lookahead LR parser generator algorithm to produce parsers. It is commonly used in constructing programming language compilers.
The programms yacc and bison use the Lookahead LR parser generator algorithm to produce parsers. They are commonly used in constructing compilers for [programming languages]? and for writing other programs that expect input in a structured format that can be described by a context-free grammar.

An LALR parser is a term from computer science; it is a particular parser? generated by the [Lookahead LR parser generator]? algorithm (Lookahead LR is abbreviated LALR). The LALR algorithm produces LR parsers; they are used for recognizing strings from the language of a context-free grammar.

An LR parser usually consists of a driver program and a table; the LALR algorithm produces the table, so sometimes LALR parser is used to refer to the table. Once the table has been generated it isn't in general possible to tell what algorithm was used to generate it.

The programms yacc and bison use the Lookahead LR parser generator algorithm to produce parsers. They are commonly used in constructing compilers for [programming languages]? and for writing other programs that expect input in a structured format that can be described by a context-free grammar.

/Talk


HomePage | Recent Changes | Preferences
This page is read-only | View other revisions
Last edited October 15, 2001 1:14 pm by AxelBoldt (diff)
Search: