[Points 3]
Consider the following grammar, where A is the start symbol:
A ::= A - B | B
B ::= C ^ B | C
C ::= 0 | 1 | 2
For each of the following assertions, say whether it is true or false
- The grammar is ambiguous
- "^" is right associative
- "-" has precedence over "^"