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

SM Ryan <wyrmwif@tsoft.org>
1 Aug 2006 00:31:02 -0400

          From comp.compilers

Related articles
[26 earlier articles]
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)
Re: Why LL(1) Parsers do not support left recursion? parsersinc@earthlink.net (SLK Parsers) (2006-07-31)
Re: Why LL(1) Parsers do not support left recursion? wyrmwif@tsoft.org (SM Ryan) (2006-08-01)
Re: Why LL(1) Parsers do not support left recursion? DrDiettrich1@aol.com (Hans-Peter Diettrich) (2006-08-03)
Re: Why LL(1) Parsers do not support left recursion? parsersinc@earthlink.net (SLK Parsers) (2006-08-03)
Re: Why LL(1) Parsers do not support left recursion? parsersinc@earthlink.net (SLK Parsers) (2006-08-04)
| List of all articles for this month |
From: SM Ryan <wyrmwif@tsoft.org>
Newsgroups: comp.compilers
Date: 1 Aug 2006 00:31:02 -0400
Organization: Quick STOP Groceries
References: 06-07-115
Keywords: parse
Posted-Date: 01 Aug 2006 00:31:02 EDT

"SLK Parsers" <parsersinc@earthlink.net> wrote:
# >As already mentioned with regards to the Java grammar, I think that a
# >grammar with unrolled implied rules is a maintenance nightmare. How
# >should any new kind of statement be added correctly, if the reason and
# >the criteria for the splitting into open and closed statements is not
# >documented explicitly, but instead is only built into an existing grammar?


# This grammar solution is just an exercise of theoretical
# interest. Yacc and most other tools can handle the ambiguous grammar
# correctly.


Of course. Throw garbage at the parser generator and hope you
get a edible meal out of it.


# the reduce. SLK does this by using the first production of the two
# alternates as the parse table entry.


How would I guess which one is that?


--
SM Ryan http://www.rawbw.com/~wyrmwif/
God's a skeeball fanatic.


Post a followup to this message

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