In total = price + 2 * count, what kind of token is 2?
What is the lexer's job?
In a + b * c, the parser groups b * c before applying the plus.
Circle one: True False
In the tree for price + 2 * count, what sits directly under the plus?
How does the lexer split total = price + 2 * count?
How does a - b - c group?
Which grammar rule makes minus left associative?
A student evaluates a - b - c as a - (b - c) and gets a wrong answer. What is the real mistake?