Skip to content

Latest commit

 

History

History
43 lines (26 loc) · 979 Bytes

README.md

File metadata and controls

43 lines (26 loc) · 979 Bytes

See90

See90 is a C90 compliant compiler which targets the MIPS I architecture.

It compiles single pre-processed files.

Dependencies

These dependencies are automatically acquired via the make command.

Building the compiler

To acquire dependencies and build the compiler, run the following in the root directory:

$ make bin/c_compiler

Invoking the compiler

The compiler takes two flags

  • -S for the input file path
  • -o for the output file path

For example, it can be run as follows

$ ./bin/c_compiler -S "./test/all/main.c" -o "./test/all/main.s"

Work-tracking

  • The majority of work-tracking was done using Monday

Credits