[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
12 Lalr(1) parsing
Regular grammar generators, like Lex, are often coupled with tools, such as Yacc and Bison, that can generate parsers for more powerful languages, namely (a subset of) context-free languages. These tools take as input a description of the language to be recognized and generate a parser for that language, written in some other language (for example, Yacc and Bison generate parsers written in C). The user must always be aware of the generated parser and that is a nuisance. Bigloo provides such a tool that overcomes this annoyance. It generates parsers for the class of Lalr(1) grammars in a more opaque way.
12.1 Grammar definition | ||
12.2 Precedence and associativity | ||
12.3 The parsing function | ||
12.4 The regular grammar | ||
12.5 Debugging Lalr Grammars | ||
12.6 A simple example |
This document was generated on March 31, 2014 using texi2html 5.0.