Additional Example 1+1
This example of LR parsing uses the following small grammar with goal symbol E:
- (1) E → E * B
- (2) E → E + B
- (3) E → B
- (4) B → 0
- (5) B → 1
to parse the following input:
- 1 + 1
Read more about this topic: LR Parser
Famous quotes containing the word additional:
“The world will never be long without some good reason to hate the unhappy; their real faults are immediately detected, and if those are not sufficient to sink them into infamy, an additional weight of calumny will be superadded.”
—Samuel Johnson (17091784)
Related Subjects
Related Phrases
Related Words