Skip to content

Compiler translating MiniJava source file to MIPS assembly code

Notifications You must be signed in to change notification settings

Yuren-Zhong/MiniJava_2_MIPS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MiniJava to MIPS Compiler

MiniJava is a subset of Java. This compiler takes MiniJava source files as inputs and outputs corresponding MIPS assembly code, and meanwhile generates intermediate representations Piglet, Spiglet and Kanga. The entire procedure consists of phases such as type checking, generating and simplifying assembly-like code, allocating registers and adding stack frames.

More details about the project: http://web.cs.ucla.edu/~palsberg/course/cs132/project.html

Slides in Chinese: https://yuren-zhong.github.io/static/presentation-minijava2mips.pdf

About

Compiler translating MiniJava source file to MIPS assembly code

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages