Skip to content

A compiler for subset of C which supports function calls, expressions, if-else statements etc.

Notifications You must be signed in to change notification settings

sgomber/C-Compiler

Repository files navigation

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.

About

A compiler for subset of C which supports function calls, expressions, if-else statements etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published