Skip to content

ELEC50010 Instruction Architectures and Compilers Compiler Project

Notifications You must be signed in to change notification settings

JeffreyWong20/C-to-MIPS-Compiler

 
 

Repository files navigation

C-to-MIPS-Compiler

This repository contains the preprocessed C to MIPS assembly compiler. It was produced as part of EIE 2nd Year Instruction Architecture and Compilers coursework.It was completed in Spring 2021 by me (Haoran Wu) and Jeffrey Wong.

It is scored by 74% for the compiler (90%) and 100% for project management (10%) and passed 150 out of 202 tests. Within this code, we consider the limitating memory and conduct dynamic stack method to remove some of intermeadiate variable to make it approach the compiler in real life.

Contributor

Haoran Wu ([email protected])
Tszhang Wong ([email protected])

About

ELEC50010 Instruction Architectures and Compilers Compiler Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 85.0%
  • Yacc 7.2%
  • C 4.5%
  • Lex 1.3%
  • Assembly 1.1%
  • Makefile 0.4%
  • Other 0.5%