(→Solution) |
|||
Line 16: | Line 16: | ||
[[Image:Top-Down Parsing-exercise-06.jpg|800px|Temporary handwritten solution]] | [[Image:Top-Down Parsing-exercise-06.jpg|800px|Temporary handwritten solution]] | ||
− | [[category: | + | [[category:Compiladores]] |
− | [[category: | + | [[category:Ensino]] |
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)