A test of Hypatia, to see whether it could be used for PICO-8.
Hypatia is an ML-family language that compiles to Lua.
Build the hypatia
binary with cabal
.
Then, compile the program with the following command:
$ hypatia compile Game.hyp
It works! However, it might be easier to just use Lua directly. Lua is already quite functional programming friendly.