29th August 06
Today we have a double lecture!! Class is so early ,so could not get time to have breakfast :(( ......Today we came to know that Top Down Parser cannot parse every string that belongs to context free grammar.So we need to remove left recursion and left factoring. Sir explained the method to free the grammar from Left Recursion & Left Factoring.Now sir moved to Build Predictive Parser and transition diagrams for it. It was looking so simple in way sir explained. Then sir presented a Table Driven Approach to parse a grammer. Sir started the concept of FIRST and FOLLOW but we were not able to Follow it so quickly and class ended with the Following topics: 1) FIRST 2) FOLLOW............
No comments:
Post a Comment