TVAO / Fasto-Compiler

Fasto compiler implementation in F# targeting MIPS assembly code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Assembly 55.2%Language:F# 40.3%Language:Emacs Lisp 2.8%Language:Shell 1.6%Language:Vim Script 0.1%Language:Makefile 0.0%