List of Experiments for CD(IT-6003):
1. Study of LEX tool and its installation in LINUX.
2. Write a program to identify string using lex tool.
3. Write a program to find keyword and identifiers using lex tool.
4. Write a program to count all character using lex tool.
5. Design a lexical analyzer for given language and the lexical analyzer should ignore redundant
spaces, tabs and new lines.
6. Write a program to calculate FIRST() and FOLLOW() of a Grammar.
7. Write a program to construct LL(1) parser for given language.
8. Write a program to construct a recursive descent parser for an expression.
9. Study of YACC tool and installation in Linux operating system.
10. Write a program for implementing a calculator for computing the given expression using
semantic rules of the YACC tool.
11. Write a program for implementing Shift Reduce parsing and LR parsing.
12. Write a program for generating various intermediate code forms i) Three address code ii)
Polish notation
(Dr. Amit Chandanan)