usually expression grammar
are writed to not be ambiguous, here it is only to show how parse4j
deal with ambiguous grammar.
see
how it is possible to disambiguate.
The ambiguous grammar:
Start : Expression
Expression : 'a'
|
Expression '+' Expression
| Expression '*' Expression