You are on page 1of 2

1.

Implement lexical analyzer for recognizing identifiers, keywords, numbers,


operators using DFA?

2. A)Implement lexical analyzer using lex for recognizing identifiers,


keywords, operators?
B) Construct recursive descent parser for the grammar
ScAd
Aab|a

3. Construct a recursive descent parser for the grammar


ETe
e+Te
e^
TFt
t*Ft
t^
F(E)
Fi

4. A)Construct recursive descent parser for the grammar


ScAd
Aab|a
B) Construct LALR parser using YACC for expression grammar using
precedence and associativity?
LEn
EE+E | E-E | E*E | E/E| (E) | i

5.Construct LL(1) parser for the grammar


ETe
e+Te
e^
TFt
t*Ft
t^
F(E)
Fi
6.a)Implement lexical analyzer using lex for recognizing identifiers, keywords,
operators?
b) Construct LALR parser using YACC for expression grammar
EE+T | T

TT*F | F
F(E) | i

7. Construct operator precedence parser for the expression grammar?

8. Construct predictive parser for the grammar


ETe
e+Te
e^
TFt
t*Ft
t^
F(E)
Fi

9.A) Implement lexical analyzer using lex for recognizing identifiers,


keywords, operators,commentlines?
B)Construct recursive descent parser for the grammar
ScAd
Aab|a

You might also like