Construct the LL(1) table for the following grammar. 1. Expr → _Expr 2. Expr →…
PYQ GATE 1995Modified — slightly modified from the official paper; see the solution
Construct the LL(1) table for the following grammar.
1. Expr → _Expr
2. Expr → (Expr)
3. Expr → Var ExprTail
4. ExprTail → _Expr
5. ExprTail → λ
6. Var → Id VarTail
7. VarTail → (Expr)
8. VarTail → λ
9. Goal → Expr$
Sign up free to check your answer
Sign up freeLoading lesson…

