Skip to content

Implementation of Lex and Yacc to parse if-else,for and while constructs of Java

Notifications You must be signed in to change notification settings

dgdheeraj/Compiler-for-Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Compiler-for-Java

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

Usage Instructions

Follow the steps in Instructions.txt

About

Implementation of Lex and Yacc to parse if-else,for and while constructs of Java

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published