|Doubt with parse tree email@example.com (2006-10-24)|
|Re: Doubt with parse tree firstname.lastname@example.org (Wolfram Fenske) (2006-10-24)|
|Re: Doubt with parse tree DrDiettrich1@aol.com (Hans-Peter Diettrich) (2006-10-26)|
|From:||Hans-Peter Diettrich <DrDiettrich1@aol.com>|
|Date:||26 Oct 2006 00:29:08 -0400|
|Posted-Date:||26 Oct 2006 00:29:08 EDT|
> E -> E + E
> E -> E * E
> E -> (E)
> E -> id
> and the input is id + id * id
We just had such a discussion, the grammar is ambiguous. The + and *
operators have no specific priority and grouping.
Perhaps this example was given to demonstrate the need for more detailed
Return to the
Search the comp.compilers archives again.