This grammar is supposed to give priority to multiplication:
- E -> E + T | T.
- T -> T * F | F.
- F -> x.
A derivation for "x + x * x" would be (unless I'm wrong):
E => E + T => T + T => F + T => x + T => x + T * F => x + F * F => x + x * F => x + x * x.
So how is multiplication given priority over addition? It appears that the addition is produced first.