engineering recuitment GATE CSE 2023-24 Test Series Compiler Design Syntax Analysis First and Follow
Consider the following grammar G:
|
X → tABCD A → qt |t B → r | ε C → q | ε D → p |
What of the following is/are correct?
1
First of B is {r, ε}
2
Follow of A is {r, q, p }
3
First of D is {p, ε}
4
Follow of A is {$, r, q, p }