| Related articles |
|---|
| [3 earlier articles] |
| Re: ambiguity of grammar and LR(k) Xavier.Nicollin@imag.fr (Xavier Nicollin) (1999-10-29) |
| Re: ambiguity of grammar and LR(k) henning@makholm.net (Henning Makholm) (1999-10-29) |
| Re: ambiguity of grammar and LR(k) mtimmerm@microstar.nospam-remove.com (Matt Timmermans) (1999-10-29) |
| Re: ambiguity of grammar and LR(k) nhartzell@macalester.edu (Nathan Hartzell) (1999-10-29) |
| Re: ambiguity of grammar and LR(k) Xavier.Nicollin@imag.fr (Xavier Nicollin) (1999-10-31) |
| Re: ambiguity of grammar and LR(k) Xavier.Nicollin@imag.fr (Xavier Nicollin) (1999-10-31) |
| Re: ambiguity of grammar and LR(k) henning@makholm.net (Henning Makholm) (1999-10-31) |
| Re: ambiguity of grammar and LR(k) henning@makholm.net (Henning Makholm) (1999-10-31) |
| Re: ambiguity of grammar and LR(k) uranus!ikastan@uunet.uu.net (1999-10-31) |
| Re: ambiguity of grammar and LR(k) linlist@fudan.edu (Linlist Leo) (1999-10-31) |
| Re: ambiguity of grammar and LR(k) sol!ikastan@agate-ether.berkeley.edu (1999-11-02) |
| From: | Henning Makholm <henning@makholm.net> |
| Newsgroups: | comp.theory,comp.compilers |
| Date: | 31 Oct 1999 01:20:07 -0400 |
| Organization: | UNI-C |
| Distribution: | inet |
| References: | 99-10-130 99-10-137 99-10-168 |
| Keywords: | parse |
Nathan Hartzell <nhartzell@macalester.edu> writes:
> > > S -> M | U
> > > M -> iEtMeM | a
> > > U -> iEtS
> the M rule is off just a bit. It should be M -> iEtMeU
Then
if E then a else if E then a else if E then a
still cannot be parsed.
--
Henning Makholm
Return to the
comp.compilers page.
Search the
comp.compilers archives again.