aochagavia / AFP-Ants

1 stars 0 forks source link

AFP-Ants

By Daan Knoope, Reinier Maas, Jorrit Dorrestijn and Adolfo Ochagavía

Compile and run

> stack build
> stack exec FunctionalAnts-exe > intructions.ant

The output of our executable is a text stream where each line corresponds to an ant instruction.

Note: you can also run the unit tests with stack test.

The Ant program

The ant program is contained in Ant.hs

Architecture

The DSL and compiler are defined in the Language module: