Next: Exercise 3
Up: Elements of Answers for Exercise
Previous: Is the grammar G left
We saw during the lectures that if a grammar is LL(1)
then for every productions
A
and
A
we must have
FIRST(
)
FIRST(
) =
.
This condition is not satisfied here
with A = L,
= () and
= (E).
Ineed ( belongs clearly to both FIRST(
)
and FIRST(
).
Next: Exercise 3
Up: Elements of Answers for Exercise
Previous: Is the grammar G left
Marc Moreno Maza
2004-12-01