Skip to content

jsgoldin/Simple-Java-Compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a compiler that translates Simple-Java programs into MIPS assembly.
You must build the compiler by running build.py!



build.py - Builds the compiler.

demo.py - A script for easily compiling and running included example sjava programs.

sjavac.py - A wrapper python script for calling the compiler.
	Usage: ./sjavac.py <path to sjava file>



This project uses 2 external jar files located in tools/
	javacc.jar - for generating the parser
	Mars_4_5.jar - for running MIPS assembly


Don't have too much fun!

About

Compiles Simple-Java programs into MIPS assembly

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published