(→Solution) |
(→Solution) |
||
Line 14: | Line 14: | ||
== Solution == | == Solution == | ||
− | [[Image:Top-Down Parsing-exercise-06. | + | [[Image:Top-Down Parsing-exercise-06.jpg|800px|Temporary handwritten solution]] |
[[category:Teaching]] | [[category:Teaching]] | ||
[[category:Compilers]] | [[category:Compilers]] |
Contents |
Consider the following grammar, where F is the initial symbol and {a,b,c,d,e} is the set of terminal symbols:
F -> G b | O c F e O -> a G -> F c | O c d | (eps)