cabal build compiler simulatorcabal run compiler -- check-ir-loweringcabal run compiler -- export-baseline /tmp/fp_final_project_baseline.pydataGenerate a memory image, compile the optimized program, and run it:
uv run scripts/gen_baseline.py /tmp/out
cabal run compiler -- /tmp/out/optimized.bundle
cabal run simulator -- /tmp/out/optimized.bundle -m /tmp/out/baseline.binAdd --trace for cycle-by-cycle output.
cabal test pbtThis runs 1000 random programs against the Python reference simulator.