A compiler and interpreter for a small language of vector graphics. Play with the language at https://lemmih.github.io/fvg. The language supports ADTs, pattern matching, HM type inference, and Svg literal values.
From the tests/
directory, run: runhaskell -i../src runtests.hs
To run a single test: runhaskell -i../src runtest.sh [file].fvg
The output will be stored in [file].out
.
Clone reflex-platform
Then run reflex-platform/work-on ghcjs ./. --command "cabal configure --ghcjs -fSite && cabal build"