Here is my grammar:
E ⇒ T P
P ⇒ ε
P ⇒ l T P
T ⇒ F Q
Q ⇒ ε
Q ⇒ F Q
F ⇒ ( E ) R
F ⇒ i R
R ⇒ ε
R ⇒ * R
How can I compute the first and follow sets of these production rules?
Here is my grammar:
E ⇒ T P
P ⇒ ε
P ⇒ l T P
T ⇒ F Q
Q ⇒ ε
Q ⇒ F Q
F ⇒ ( E ) R
F ⇒ i R
R ⇒ ε
R ⇒ * R
How can I compute the first and follow sets of these production rules?