Exercices 03
Consider the following grammar:
S' → S EOF
S → s
S → i c S
S → i c S e S
- Parse the following string: “icicses” using Earley parsing (show the list of sets of items you get until the string is recognized).
- How many parses did you get?
Solution:
We get 2 parse trees.