Re: Why LL(1) Parsers do not support left recursion?

Matthias Blume <find@my.address.elsewhere>
28 Jul 2006 18:44:53 -0400

          From comp.compilers

Related articles
[19 earlier articles]
Re: Why LL(1) Parsers do not support left recursion? DrDiettrich1@aol.com (Hans-Peter Diettrich) (2006-07-25)
Re: Why LL(1) Parsers do not support left recursion? ajonospam@andrew.cmu.edu (Arthur J. O'Dwyer) (2006-07-25)
Re: Why LL(1) Parsers do not support left recursion? wyrmwif@tsoft.org (SM Ryan) (2006-07-28)
Re: Why LL(1) Parsers do not support left recursion? cfc@shell01.TheWorld.com (Chris F Clark) (2006-07-28)
Re: Why LL(1) Parsers do not support left recursion? cfc@shell01.TheWorld.com (Chris F Clark) (2006-07-28)
Re: Why LL(1) Parsers do not support left recursion? cfc@shell01.TheWorld.com (Chris F Clark) (2006-07-28)
Re: Why LL(1) Parsers do not support left recursion? find@my.address.elsewhere (Matthias Blume) (2006-07-28)
Re: Why LL(1) Parsers do not support left recursion? DrDiettrich1@aol.com (Hans-Peter Diettrich) (2006-07-28)
Re: Why LL(1) Parsers do not support left recursion? DrDiettrich1@aol.com (Hans-Peter Diettrich) (2006-07-28)
Re: Why LL(1) Parsers do not support left recursion? DrDiettrich1@aol.com (Hans-Peter Diettrich) (2006-07-28)
Re: Why LL(1) Parsers do not support left recursion? wyrmwif@tsoft.org (SM Ryan) (2006-07-29)
Re: Why LL(1) Parsers do not support left recursion? ajo@andrew.cmu.edu (Arthur J. O'Dwyer) (2006-07-29)
Re: Why LL(1) Parsers do not support left recursion? DrDiettrich1@aol.com (Hans-Peter Diettrich) (2006-07-29)
[5 later articles]
| List of all articles for this month |
From: Matthias Blume <find@my.address.elsewhere>
Newsgroups: comp.compilers
Date: 28 Jul 2006 18:44:53 -0400
Organization: private
References: 06-07-024 06-07-027 06-07-035 06-07-046 06-07-050 06-07-055 06-07-059 06-07-068 06-07-072
Keywords: parse, theory
Posted-Date: 28 Jul 2006 18:44:53 EDT

Hans-Peter Diettrich <DrDiettrich1@aol.com> writes:


>> Point 2 is incorrectly stated, at the least. You seem to have meant
>> not that the languages are ambiguous, but rather than particular
>> grammars that are commonly used for those languages are ambiguous.
>
> As already stated in a parallel answer, a language can allow for
> multiple different parse trees of the same (valid) input, what has been
> considered as "ambigous" by several contributors. Can you suggest a
> better wording?


A language in the technical sense is just a set of strings. There is
no notion of a parse tree until you provide a grammar. However, a
language can be "ambiguous" in the sense that there are no
non-ambiguous grammars for it (while there are ambiguous ones). Such
languages are called "inherently ambiguous".


Matthias



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.