Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 656 Bytes

README.md

File metadata and controls

16 lines (9 loc) · 656 Bytes

Functional Vector Graphics

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.

Test suite

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.

Frontend

Clone reflex-platform

Then run reflex-platform/work-on ghcjs ./. --command "cabal configure --ghcjs -fSite && cabal build"