Skip to content

lemmih/fvg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"

About

Functional Vector Graphics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published