Assignment 1: All stages of compiler on a simple C like language.
Assignment 2: Formation of grammar and lexical analysis
Assignment 3: Parsing and generating Parse tree
Assignment 4: Semantic analysis and MIPS target code generation
- Run the bash file run.sh in terminal : ./run.sh or bash run.sh
- go to mars simulator folder and run the following command : java Mars.java
- Paste the MIPS code generated from the code to the simulator GUI.
- Assemble the code and run it :) .