Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 442 Bytes

README.md

File metadata and controls

9 lines (7 loc) · 442 Bytes

C-Compiler

A compiler for subset of C made for Compilers Lab.

Steps:

  1. Copy your C file to be compiled in this folder.
  2. Open terminal in this folder and run "./Compile.sh <your_file_name>"
  3. If your code is erroneous, suitable syntax and semantic errors will be printed to stdout
  4. If code is correct, then the code's Intermediate Code and MIPS Assembly Code is generated and stored and the MIPS Code is simulated on SPIM simulator.