From: | "Marcin 'Qrczak' Kowalczyk" <qrczak@knm.org.pl> |
Newsgroups: | comp.compilers |
Date: | 23 Jun 2005 21:54:53 -0400 |
Organization: | Klub Nieszkodliwych =?iso-8859-2?q?Manjak=F3w?= |
References: | 05-06-099 05-06-104 |
Keywords: | parse, LALR, comment |
Posted-Date: | 23 Jun 2005 21:54:53 EDT |
SM Ryan <wyrmwif@tsoft.org> writes:
> # I only wonder, have not languages designers become cleverer in the
> # recent decades to invent languages that do not require the full
> # strength of LR(k)?
>
> Why not just use LR(k)? Inertia? Methods to avoid the combinatorial explosion
> of lookaheads have been known for years.
Aren't most grammars useful in practice either LR(1) or not LR(k) at all?
If lookahead is required, it rarely has a bounded length.
--
__("< Marcin Kowalczyk
\__/ qrczak@knm.org.pl
^^ http://qrnik.knm.org.pl/~qrczak/
[yacc is LR(2) -John]
Return to the
comp.compilers page.
Search the
comp.compilers archives again.