Skip to content

A C to MIPS compiler based on the ANSI C specification and written in C++.

Notifications You must be signed in to change notification settings

kert114/C-to-MIPS-compiler

 
 

Repository files navigation

Overview

A C to MIPS compiler based on the ANSI C specification and developed in C++.

This project specifications is based on ELEC50010: Instruction Architecture and Compilers (https://github.com/LangProc/langproc-2019-cw.git).

Contributors

Deliverables

The deliverables consists of the following:

  • compiler.cpp: Compiles a given ANSI C program into MIPS assembly language.
  • test_compiler.sh: A testbench for the compiler that uses the test cases in the compiler_tests folder and compares the generated MIPS assembly language with MIPS-QEMU.

About

A C to MIPS compiler based on the ANSI C specification and written in C++.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 68.2%
  • Yacc 12.3%
  • C 9.8%
  • Shell 5.5%
  • Lex 3.7%
  • Makefile 0.5%