What it does

I built a MIPS assembler and a WLP4 compiler! Wondering what the heck WLP4 even is? WLP4 is a simplified programming language of C++; it has a subset of the features in C++. It supports int arithmetics, loop, print statements, function calls, pointers, memory allocation and deallocation, but it doesn't support some other features like strings. The expected behaviour is identical to a g++ compiler with no optimization flags on.

The MIPS Assembler takes in MIPS assembly code and converts it to 32-bit machine code.

The compiler takes in a program written in WLP4, checks syntax, and semantics, and generates MIPS code accordingly.

Built With

Share this project:

Updates