Commit Graph

435 Commits

Author SHA1 Message Date
Robbie Gleichman
e19deaaa2d Convert SyntaxGraph to an FGL graph, and render it. 2016-07-02 14:43:18 -07:00
Robbie Gleichman
58a757d41a Add SyntaxGraph. Replace IconGraph with SyntaxGraph in Translate.hs. 2016-06-18 13:17:09 -07:00
Robbie Gleichman
65fdc1006d Fix tests. Add test case for icons not nesting. 2016-05-29 12:00:57 -07:00
Robbie Gleichman
b8f9646a19 Update tutorial image in README 2016-05-29 00:57:02 -07:00
Robbie Gleichman
21727bc9f1 Use nested function apply icon even when the function is not text. 2016-05-29 00:55:09 -07:00
Robbie Gleichman
e083af823a Add special case for otherwise. 2016-05-28 23:29:01 -07:00
Robbie Gleichman
f7ad0e718b Update README 2016-05-28 22:03:09 -07:00
Robbie Gleichman
83c9ac062c Remove out of date mock-up. 2016-05-28 22:02:33 -07:00
Robbie Gleichman
9eaf8c5734 Add project description to README 2016-05-28 21:59:07 -07:00
Robbie Gleichman
24e3e23f28 Add fact.hs 2016-05-28 21:49:48 -07:00
Robbie Gleichman
327699a1b3 Add tutorial image to README 2016-05-28 21:45:31 -07:00
Robbie Gleichman
6e56b2e5d1 Add rendered SVG for tutorial.hs. 2016-05-28 20:57:07 -07:00
Robbie Gleichman
4d979ac5a3 Fix comment text alignment. 2016-05-28 20:53:51 -07:00
Robbie Gleichman
d60977eee1 Modify tutorial. 2016-05-28 19:43:10 -07:00
Robbie Gleichman
cd02cd5d90 Add more to the tutorial. 2016-05-26 22:27:10 -07:00
Robbie Gleichman
6afb02c037 Add a tutorial/introduction file. Add support for multiline comments. 2016-05-22 23:19:06 -07:00
Robbie Gleichman
91cacefb3d The main program now takes the input Haskell filename as a command line argument. 2016-05-15 22:02:17 -07:00
Robbie Gleichman
b71597b5ad Removed obsolete rendering tests. 2016-05-13 22:27:32 -07:00
Robbie Gleichman
242aa8225d Move render tests from app/Main.hs to test/AllTests.hs 2016-05-11 23:08:18 -07:00
Robbie Gleichman
84a9280ddd 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
Robbie Gleichman
973674054e Remove (&) and (#), add tests. 2016-05-09 23:45:37 -07:00
Robbie Gleichman
3d939f9644 Fix $ adding an extra apply icon. 2016-04-09 18:59:40 -07:00
Robbie Gleichman
dd758a38ad Translate nested icons. Fix nested icons missing edges in GraphViz graph. 2016-04-08 23:54:59 -07:00
Robbie Gleichman
5f958e07f2 Nested Apply Icon. 2016-04-05 22:19:05 -07:00
Robbie Gleichman
31dea15009 Move color schemes to app/DrawingColors.hs 2016-04-03 19:08:43 -07:00
Robbie Gleichman
4c0e37949b More type simplification. 2016-03-27 16:55:25 -07:00
Robbie Gleichman
287b477d1b Simplify types. 2016-03-27 16:49:58 -07:00
Robbie Gleichman
f331e8dca8 Change icon transformation to make it more composable. 2016-03-27 14:17:50 -07:00
Robbie Gleichman
80673a35ca Adjust overlaps. 2016-03-26 16:38:25 -07:00
Robbie Gleichman
0c50f69619 Adjust colors. 2016-03-22 22:27:03 -07:00
Robbie Gleichman
299886c450 Give top level bind text boxes special colors. 2016-03-22 22:15:29 -07:00
Robbie Gleichman
cede5c645c Give pattern application icons their own color. 2016-03-21 21:37:19 -07:00
Robbie Gleichman
cab82b66dd Keep text upright. 2016-03-21 21:14:41 -07:00
Robbie Gleichman
3852a8a492 Integrated text for tuples and sections. 2016-03-21 19:11:19 -07:00
Robbie Gleichman
692577138d Integrate text with apply icons. 2016-03-21 17:36:02 -07:00
Robbie Gleichman
c3bdc52b38 Apply0 -> ApplyA. Fix error with match to case translation. 2016-03-21 15:42:32 -07:00
Robbie Gleichman
ceb361f693 Lambdas now use a simple icon, not nested Drawings. 2016-03-21 02:00:04 -07:00
Robbie Gleichman
5818f286e6 Add NegExp, List patterns, changes for bootstrapping. 2016-03-05 22:26:03 -08:00
Robbie Gleichman
1de078336e Do translation. 2016-03-05 18:01:35 -08:00
Robbie Gleichman
2d7833abbf Handle all cases in EvalQName. 2016-03-05 00:12:55 -08:00
Robbie Gleichman
582140eff3 Translate list constructor. 2016-03-04 23:49:48 -08:00
Robbie Gleichman
69bacafdbd Translate sections. 2016-03-04 21:35:23 -08:00
Robbie Gleichman
7b59edc49d Special case for $. 2016-03-04 20:03:36 -08:00
Robbie Gleichman
3be7edd2b4 Add more than one comma to tuple string where appropriate. 2016-03-04 19:00:45 -08:00
Robbie Gleichman
73ad26168a Add enums 2016-03-04 18:49:02 -08:00
Robbie Gleichman
2b831cfe45 Switch back to circles for GraphViz. 2016-03-04 13:53:19 -08:00
Robbie Gleichman
f886a945e5 As patterns translated. 2016-03-04 13:24:09 -08:00
Robbie Gleichman
ea99c9bfe4 Extract types and functions that do not use Language.Haskell.Exts into TranslateCore. 2016-02-26 22:58:49 -08:00
Robbie Gleichman
8817c7712b Dont' tuple and untuple when there is only one pattern. 2016-02-26 15:58:50 -08:00
Robbie Gleichman
b2a9427e57 Give edges in patterns a special color. 2016-02-25 18:37:04 -08:00