This repository contains the lex and yacc codes for the assignments and each of the 6 weeks of laboratory exercises completed during the sixth semester as part of the course: Compiler Design.
- Lab 1: Syntax Validation
- Lab 2: Symbol Table Generation
- Lab 3: Expression Evaluation
- Lab 4: AST (Abstract Syntax Tree) Generation
- Lab 5: ICG (Intermediate Code Generation)
- Lab 6: LLVM (Low Level Virtual Machine)
- Assignment 1: Building a mini-compiler using concepts of Lab 1 and 2
- Assignment 2: To extend the Lab 5 and 6 file for if-else and do-while statements.
Feel free to contribute by submitting issues for any bugs or improvements. I hope this serves as a valuable resource for your learning and projects in Compiler Design.