To build this part of the project:
- Install the latest version of stack
- Clone the Aetherling Haskell IR repository
- Build the project:
stack build
- Look at the examples in src/examplesExe/Main.hs. The output of running this file is at src/examplesExe/Main.output.
- Either
- Run the produced binary to see all the examples and their space/time requirements. You can find the binary by looking at the output of the build command
- Load the package in the Haskell interpreter and try out your own examples. This can be done by running:
stack ghci
run with the following to get profiling for debugging and memory analysis:
AetherlingSTIR-Example-exe +RTS -xc