Implementation of Lex and Yacc to parse if-else,for and while constructs of Java
Contains the implementation of the following stages of Compiler Design:
- Lexical Analysis
- Semantic Analysis
- Intermediate Code Generation
- Code Optimization
- Assembly Code Generation
Code optimization techniques used:
- Constant Propagation
- Constant Folding
- Common Subexpression Elimination
Follow the steps in Instructions.txt