You are on page 1of 1

Assignment No.

2
Class: TE-COMP A & B Sub:-SPCC Date: 27/01/2018
Last Date: 16/02/2018

1. Design predictive parser LL(1) for the following grammar


E→E+T/T
T→T*F/F
F→(E)/id
2. Design LALR parser for a given grammar.
S→CC
C→cC/d
3. Design LR(0) parser for the following grammar
S→aSb|ab
4. Design operator precedence parser for following grammar
E→E+E|E*E|id

5. Design LR(1) parser for following grammar


S→AaAb|BbBa
A→Ԑ
B→Ԑ

Mr.Melasagare S.M.
Subject Incharges

You might also like