glance/README.md

21 lines
781 B
Markdown
Raw Normal View History

# Glance
A visual Haskell
To build and run:
```
stack build
2016-05-29 07:45:31 +03:00
stack exec glance-exe -- -o images/fact.svg -w 500 examples/fact.hs -
firefox images/fact.svg
```
2016-05-29 07:45:31 +03:00
Below is a mockup of what Glance may look like in the future
2016-01-21 08:55:44 +03:00
<img src="examples/factorial_goal.png" alt="factorial_goal" height="300"/>
</br>
2016-05-29 07:45:31 +03:00
Here is a getting started guide for Glance rendered by Glance ([source here](examples/tutorial.hs)). 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.
<img src="https://cdn.rawgit.com/rgleichman/glance/6e56b2e5d1d2d031eca88b08e1444b8987b242af/examples/tutorial.svg" alt="Introduction to Glance" />