Commit Graph

262 Commits

Author SHA1 Message Date
Robbie Gleichman
d7eb3749d9 Make the args of pattern apply nodes vertical to make embedding cases nicer. 2016-12-25 17:08:11 -08:00
Robbie Gleichman
79c15e2e86 Reflect the angles of the inner icons for nestedGuardPortAngles. 2016-12-24 16:05:15 -08:00
Robbie Gleichman
4ca53c58c4 Allow case icon to embed apply and pattern apply icons. 2016-12-24 14:46:53 -08:00
Robbie Gleichman
d2bfde4c51 Refactor parentIsOnlyEdge. 2016-12-24 02:13:28 -08:00
Robbie Gleichman
e1af41b9bf Fix edge direction from case result to the optional case result port on the case node. 2016-12-24 02:02:59 -08:00
Robbie Gleichman
e373a6bcc5 Reduce language extensions listed in Icons.hs. 2016-12-23 00:47:25 -08:00
Robbie Gleichman
3e4673742e Replace custom function with normalizeAngle in transformCorrectedTextBox. 2016-12-23 00:40:52 -08:00
Robbie Gleichman
8b860cc8b0 Rearrange Icons.hs. 2016-12-23 00:30:07 -08:00
Robbie Gleichman
dec7c48b82 Inline some iconToDiagram sub-functions. Increase size of case result icon. 2016-12-22 23:42:11 -08:00
Robbie Gleichman
9b07562120 Delete branchIcon function from Icons.hs. 2016-12-22 23:26:40 -08:00
Robbie Gleichman
9b126406b6 Refactor Icons.hs. 2016-12-22 23:24:50 -08:00
Robbie Gleichman
160d66a452 Delete generalGuardIcon. 2016-12-22 20:28:49 -08:00
Robbie Gleichman
fa67d61e84 Delete ResultIcon. 2016-12-22 19:51:22 -08:00
Robbie Gleichman
5efcc62b96 Delete enclosure, lambdaIcon, and lambdaRegion from Icons.hs. 2016-12-22 19:14:28 -08:00
Robbie Gleichman
961879049a Rename todo.txt as todo.md. 2016-12-22 19:07:30 -08:00
Robbie Gleichman
f97b5a984e Format todo.txt as markdown. 2016-12-22 19:05:23 -08:00
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