Department of Computer Science & Engineering Compiler Design Lab Manual
Department of Computer Science & Engineering Compiler Design Lab Manual
Renish Padariya
Practical List
EXPERIMENT-1
Design a lexical analyzer for given language and the lexical analyzer should ignore redundant spaces, tabs and new lines.
EXPERIMENT-2
Write a Program for left recursion Problem removal in c language.
EXPERIMENT-3
Write a Program for Left factoring Problem removal in c language.
EXPERIMENT-4
Write a Program for Implementation of Recursive descent Parser.
EXPERIMENT-5
Study about yacc tool.
EXPERIMENT-6
Study about Lex and Flex.
EXPERIMENT-7
Write a program Implement the Lexical Analyzer Using LEX Tool.
EXPERIMENT-8
Scan a file and replace all the occurrences of the word "username" with users login name.
EXPERIMENT-9
Generate a automated parser for simple calculator .Valid tokens are single digit operands,+, *, \n . For valid expressions parsed in language, the corresponding Evaluation result should be displayed as output.
EXPERIMENT-10
Write a program to Design LALR Bottom up Parser.