A visual Haskell
Go to file
2016-05-28 21:45:31 -07:00
app Fix comment text alignment. 2016-05-28 20:53:51 -07:00
examples Add rendered SVG for tutorial.hs. 2016-05-28 20:57:07 -07:00
src Initial commit 2016-01-04 17:18:42 -08:00
test Removed obsolete rendering tests. 2016-05-13 22:27:32 -07:00
.gitignore Fix tests. Add test_translate. Add an empty test-output directory so tests can be run with zero setup. 2016-05-10 22:33:07 -07:00
glance.cabal Remove (&) and (#), add tests. 2016-05-09 23:45:37 -07:00
LICENSE Initial commit 2016-01-04 17:18:42 -08:00
notes.txt Move render tests from app/Main.hs to test/AllTests.hs 2016-05-11 23:08:18 -07:00
README.md Add tutorial image to README 2016-05-28 21:45:31 -07:00
Setup.hs Initial commit 2016-01-04 17:18:42 -08:00
stack.yaml Upgrade to LTS-5.0, start on using haskell-src-exts to generate drawings from text. 2016-02-04 00:19:08 -08:00

Glance

A visual Haskell

To build and run:

stack build
stack exec glance-exe -- -o images/fact.svg -w 500 examples/fact.hs -
firefox images/fact.svg

Below is a mockup of what Glance may look like in the future

factorial_goal

Here is a getting started guide for Glance rendered by Glance (source here). To generate this image run

stack exec glance-exe -- -o examples/tutorial.svg -w 873 examples/tutorial.hs c

Glance is still in development, so for the time being, layout, routing, and icon design all have room for improvement. Introduction to Glance