Skip to content

shubz1998/CS347-Compilers-Lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CS 347 : Compilers Lab Assignment

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

Steps to run the code :

  1. Run the bash file run.sh in terminal : ./run.sh or bash run.sh

Steps to simulate the MIPS code on MARS simulator :

  1. go to mars simulator folder and run the following command : java Mars.java
  2. Paste the MIPS code generated from the code to the simulator GUI.
  3. Assemble the code and run it :) .

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published