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