LR Parser - Additional Example 1+1

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:

    Dog. A kind of additional or subsidiary Deity designed to catch the overflow and surplus of the world’s worship.
    Ambrose Bierce (1842–1914)