- Install rand-code-graph
- Install
shelly
andtext
withcabal install shelly text
- Change
scripts/RunTests.hs
- Change
graphGenerationBinaryLocation
to the location of the compiled executable from rand-code-graph
- set
graphsToGenerate
to the amount of graphs you want to generate per-level - set
maxLevel
to the maximum level you want to generate graphs for.
- Change
- Run the tests with
runhaskell scripts/RunTests.hs
Results will be written to results/
, whereby haskell.json
is the result of running the graphs with monadic Haskell, and haskell-applicative.json
is the result of running the graphs in their applicative Haskell form.