Next:
Exercise 5.
Up:
Final-2003
Previous:
Exercise 3.
Exercise 4.
Consider the following grammar
G
with terminals
a
,
b
,
e
,
i
,
t
and nonterminals
S
,
S'
,
E
.
S
i
E
t
S
S'
|
a
S'
e
S
|
E
b
We recall the rules for the computation of the FOLLOW set of each nonterminal.
if
A
B
then
: =
{
}
if
A
B
then
: =
if
then
: =
Give the parsing table (for the non-recursive implementation of predictive parsing)
Answer 4
Next:
Exercise 5.
Up:
Final-2003
Previous:
Exercise 3.
Marc Moreno Maza
2004-12-02