Skip to content

Fasto compiler implementation in F# targeting MIPS assembly code

Notifications You must be signed in to change notification settings

TVAO/Fasto-Compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Fasto Compiler (v1.0, 2021-04-28)

This is the compiler for the Fasto programming language. The source code resides in the Fasto directory.

Note that you need the .NET 5.0 SDK (not a Mono-based F#) installed on your machine, with the dotnet executable in your search path. Additionally, you should have bash to execute the various test scripts, and the Java Runtime Environment (full SDK not needed) to run the MARS simulator.

To build the compiler, run make (or just dotnet build Fasto).

To interpret, compile, or optimize a Fasto program, run bin/fasto.sh.

To execute a compiled program (in MIPS assembly), run bin/mars.sh.

To compile and immediately execute a Fasto program, run bin/compilerun.sh.

To run all tests from the tests directory (or some other), run bin/runtests.sh. Use -i to run in interpreted mode, and -o to turn on the optimizations in the compiler.

About

Fasto compiler implementation in F# targeting MIPS assembly code

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published