Skip to content

VombatInLagoon/ML-MuC-compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MLCCompiler

A MuC compiler written in StandardML.

Run make in the top level directory to generate the MIPS compiler.

Then use the ucc.sh script to create MIPS assebly code from MuC source:

./ucc.sh testsuit/noisy/simple/sim09.c

will create a sim09.s assembly file in the current directory.

To compile and run it you have to use a MIPS emulator such as SPIM:

spim -file sim09.s 

should give the output:

12345678
ABCD

About

A MuC compiler written in ML.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published