Syllabus and Practise Questions
SYLLABUS 1. Implementation of lexical analyzer using the tool LEX. 2. Implementation of Syntax analyzer using the tool YACC. 3. Application problems using NFA and DFA. 4. Implement Top-Down Parser. 5. Implement Bottom-up parser. 6. Simulation of code optimization Techniques. 7. Implement Intermediate code generation for simple expressions. 8. Implement the back end of the compiler. PRACTICE QUESTIONS List of Exercises/Experiments: 1. Design and implement a lexical analyzer using C language to recognize all valid tokens in the input program. The lexical analyzer should ignore redundant spaces, tabs and newlines. It should also ignore comments. 2. Implement a Lexical Analyzer for a given program using Lex Tool. 3. Write a lex program to display the number of lines, words and characters in an input text. 4. Write a LEX Program to convert the substring abc to ABC from the given input string. 5. Write a lex program to find out total number of vowels and consonants from the given input sting...