This repository contains assignments solved as a part of Compiler Design course (IIT BBS CSE B.Tech sem-7).
- lab-1
Write Programs for Regular Expression to NFA Conversion and DFA Minimization. - lab-2
Implement Lexical Analyzer for the considered patterns/tokens. - lab-3
Generate lexical analyzer using LEX/FLEX for the tokens of given grammar. - lab-4
a. Write a program to remove left recursion in a grammar
b. Write a program to perform left factoring for a grammar
c. Design a Top down parser (Recursive Descent Parser) - lab-5
Write a cpp program to implement predictive parser for LL(1) grammars - lab-8
Generate Parser using YACC/BISON - lab-9
Implement a calculator using FLEX/LEX and YACC/BISON