Files
IPS_G-assignment/README.txt
2022-05-18 10:46:19 +02:00

23 lines
908 B
Plaintext

# The Fasto Compiler (v1.0, 2022-04-27)
This is the compiler for the Fasto programming language. The source
code resides in the `Fasto` directory.
Note that you need the .NET 6.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.