Professional Documents
Culture Documents
Assignment - 2 Compiler Design
Assignment - 2 Compiler Design
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
COURSE OUTCOMES
Q.No 1. Using operator precedence relations, parse the string id + (id * id).
Q.No 2. Left factor the following grammar and then obtain LL (1) PARSING TABLE
E-> T+E|T
T-> float | float*T|(E).
Also parse the string w=float * float
S->SS+|SS*|a.
Faculty Name& Sign