Commit Graph

246 Commits

Author SHA1 Message Date
Robbie Gleichman
9523dcd609 Case and guard icons can now embed literals. 2016-12-19 20:27:31 -08:00
Robbie Gleichman
0185257444 Fix some instances of <$> not being converted to fmap. 2016-12-18 21:15:59 -08:00
Robbie Gleichman
dd43ebd994 Delete BranchIcon and BranchNode. 2016-12-17 17:13:36 -08:00
Robbie Gleichman
04787c62ff Remove coerceExpressionResult from evalPatAndRhs. This removes branch icons from cases. 2016-12-17 15:25:10 -08:00
Robbie Gleichman
d61c9bf6e9 Add top level type signitures. 2016-12-16 00:47:48 -08:00
Robbie Gleichman
7ac515ceaa Rename and refactor exported translation functions in Translate.hs. 2016-12-15 22:58:19 -08:00
Robbie Gleichman
00f6d4bd31 Turn some lambda tests into unit tests. 2016-12-15 17:12:16 -08:00
Robbie Gleichman
ec0bf8adf7 Add pattern unit tests. 2016-12-14 01:10:18 -08:00
Robbie Gleichman
f2fd136ac9 Move enum and negate tests into UnitTests. Update .cabal. 2016-12-14 00:30:03 -08:00
Robbie Gleichman
5d5074cced Reduce warnings. 2016-12-13 23:21:34 -08:00
Robbie Gleichman
d24642dfe8 Add more let unit tests. 2016-12-13 23:13:43 -08:00
Robbie Gleichman
aeb877ced7 Enable more unit tests by renaming nodes in the syntax graphs. 2016-12-13 15:26:24 -08:00
Robbie Gleichman
4252717f61 Refactor matches/cases in Translate.hs. 2016-12-13 13:40:23 -08:00
Robbie Gleichman
aa5aa82801 Add infix and section unit tests. Fix left sections not being applied fully. 2016-12-13 01:53:04 -08:00
Robbie Gleichman
c5281d6280 Add apply and compose apply unit tests. 2016-12-12 23:02:48 -08:00
Robbie Gleichman
ebf27d4e53 Break up tests into several files. 2016-12-12 18:47:12 -08:00
Robbie Gleichman
dc09f976cc Replace (<$>) with fmap. 2016-12-12 01:06:21 -08:00
Robbie Gleichman
df4a8797d6 Edit README 2016-12-11 22:27:35 -08:00
Robbie Gleichman
24cbfb6414 Add compose infix operator (.) translations. 2016-12-11 22:19:23 -08:00
Robbie Gleichman
0b5fd6dd4c Use roundedRect for nested icons. 2016-12-11 18:56:11 -08:00
Robbie Gleichman
63fc34da9e Edit README 2016-12-10 16:23:47 -08:00
Robbie Gleichman
3c08782662 Edit README 2016-12-10 16:23:15 -08:00
Robbie Gleichman
5478df3a91 Add success message to main. 2016-12-10 11:38:15 -08:00
Robbie Gleichman
0039634bc3 Change firefox instructions in README 2016-12-10 11:20:01 -08:00
Robbie Gleichman
47be07f4a8 Draw the edges underneath the nodes. 2016-12-09 18:28:48 -08:00
Robbie Gleichman
d0f400466b Update todo. 2016-12-09 17:44:41 -08:00
Robbie Gleichman
c7ab6883f7 Fix typo in README. 2016-12-09 14:20:49 -08:00
Robbie Gleichman
8b4677f787 Update README 2016-12-09 14:06:56 -08:00
Robbie Gleichman
1a2ab66f21 Change license to GPLv3. 2016-12-09 13:49:16 -08:00
Robbie Gleichman
1c0de4ed64 Update tutorial svg in README 2016-12-09 13:37:55 -08:00
Robbie Gleichman
958611dde3 Add compose to tutorial. 2016-12-09 13:35:51 -08:00
Robbie Gleichman
bef2208939 Fix simplifyExp in Translate. Modify factorial in tutorial to not use compose. 2016-12-09 00:56:40 -08:00
Robbie Gleichman
540c864f25 Put the function name in nested apply and pattern apply in a colored box. 2016-12-09 00:42:53 -08:00
Robbie Gleichman
c8649945c3 Cycle colors for nested apply. 2016-12-09 00:35:19 -08:00
Robbie Gleichman
8bbfcdce3a Improve compose icon. 2016-12-08 22:16:09 -08:00
Robbie Gleichman
eccfe0cd9b Reduce warnings. 2016-12-08 21:45:33 -08:00
Robbie Gleichman
63a5213ca4 Compose nested node. 2016-12-08 21:38:43 -08:00
Robbie Gleichman
d0457df8c8 Fix findParentThatWillEmbed in GraphAlgorithms. 2016-12-08 19:52:38 -08:00
Robbie Gleichman
1150fbb63a Add flat compose icon. 2016-12-08 19:19:47 -08:00
Robbie Gleichman
9d211f1c7d Tweak line color. 2016-12-08 13:09:13 -08:00
Robbie Gleichman
922094b41f Increase edge line thickness. 2016-12-08 12:47:41 -08:00
Robbie Gleichman
3991b1531d Add note about random line colors to tutorial. 2016-12-08 12:21:32 -08:00
Robbie Gleichman
fd7a4a2e1f Randomly color edges. 2016-12-08 02:41:47 -08:00
Robbie Gleichman
7d994f0ff3 Update tutorial SVG in README 2016-12-07 22:11:33 -08:00
Robbie Gleichman
97cff80df0 Revise tutorial. 2016-12-07 22:09:52 -08:00
Robbie Gleichman
13ebabe0a2 Remove old rotateNodes. Reduce warnings. 2016-12-07 20:30:13 -08:00
Robbie Gleichman
4815b4466d Improve icon rotation using port angles. 2016-12-07 20:14:01 -08:00
Robbie Gleichman
07b4f9bdb2 Add back pattern nesting in Translate.hs. 2016-12-06 21:09:04 -08:00
Robbie Gleichman
89a8afbfee Lookup the root node in the embedding map during syntaxGraphToFglGraph. 2016-12-06 18:48:47 -08:00
Robbie Gleichman
078a3305bf Add and embedding Map to SyntaxGraph. 2016-12-06 18:39:38 -08:00