Encyclopedia > Look-ahead LR parser

  Article Content

LALR parser

Redirected from Look-ahead LR parser

An LALR parser or Look-ahead LR parser is a specific type of LR parser that can deal with more context-free grammars than SLR parsers but less than LR(1) parsers can. It is a very popular type of parser because it gives a good trade-off between the number of grammars it can deal with and the size of the parsing tables it requires. It is these types of parsers that are generated by compiler-compilers such as yacc and GNU bison.

The LALR algorithm for generating a parsing table

... yet to write ....



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
Great River, New York

... is $89,566. Males have a median income of $60,179 versus $58,125 for females. The per capita income for the town is $35,509. 7.9% of the population and 6.8% o ...

 
 
 
This page was created in 37.5 ms