Language Processor3
Language Processor3
Tech/Sem-8/IT-803B/2004-05
2005
PRINCIPLE OF LANGUAGE TRANSLATION
Time Allotted: 3 hours Full Marks: 70
-1-.
c) Using the above parsing table, parse the following sentence : 4
NOT (TRUE OR FALSE)
and draw the corresponding parse tree.
a) Discuss LR parsing algorithm with suitable diagram. 4
b) Write down the LR (O)items for the following list of productions 2
E ’ E +T T
T ’T* F F
F ’(E) |id
c) What are the advantages of LALR parsing method over SLR 2
parsing method and canonical LR parsing method?
d) Write short note on YACC. 4
***