Robbie Gleichman
|
7bb206e616
|
Delete non-nested pattern apply icon and syntax node.
|
2018-11-04 13:17:35 -08:00 |
|
Robbie Gleichman
|
4b99c862a7
|
Update stackage. Replace (NodeName, Icon) with NamedIcon.
|
2018-10-28 00:25:31 -07:00 |
|
Robbie Gleichman
|
8267305950
|
Update to lts-8.23. Changes in Translate.hs due to changes in haskell-src-exts.
|
2017-07-18 23:47:28 -07:00 |
|
Robbie Gleichman
|
b6171533c5
|
Use a variable for the set of rotation angles.
|
2017-07-18 19:11:57 -07:00 |
|
Robbie Gleichman
|
71f6d55df3
|
Use customRenderSVG in Main.hs. Change font to monospace. Use optparse-applicative for Main.
|
2017-01-04 01:22:08 -08:00 |
|
Robbie Gleichman
|
4b0d32d034
|
Add pattern names to PApp.
|
2017-01-02 00:37:27 -08:00 |
|
Robbie Gleichman
|
9702cabc29
|
Add parameter names to lambda icon.
|
2017-01-01 17:43:00 -08:00 |
|
Robbie Gleichman
|
dc3b0c5875
|
Refactor evalRightSection and evalTuple to use applicative instead of monad.
|
2016-12-31 22:32:57 -08:00 |
|
Robbie Gleichman
|
f94265e8f2
|
Refactor evalCase to use applicative instead of monad.
|
2016-12-31 19:44:43 -08:00 |
|
Robbie Gleichman
|
eaa90e5a9f
|
Change parameter order for makeApplyGraph.
|
2016-12-31 19:20:01 -08:00 |
|
Robbie Gleichman
|
ece4578b4d
|
Add tuple sections.
|
2016-12-31 19:11:51 -08:00 |
|
Robbie Gleichman
|
a63ab098b5
|
Refactor out common part of evalPatAndRhs and evalPatBind.
|
2016-12-30 02:15:43 -08:00 |
|
Robbie Gleichman
|
c95abcdc1f
|
Extract out makeGuardGraph function in TranslateCore.hs. Clean up Translate.hs.
|
2016-12-29 23:40:10 -08:00 |
|
Robbie Gleichman
|
3ed4c846bb
|
Remove hardcoded port numbers from Translate.hs.
|
2016-12-29 00:15:17 -08:00 |
|
Robbie Gleichman
|
7873645ef1
|
Create a function resultPort for getting the result port number.
|
2016-12-27 21:02:11 -08:00 |
|
Robbie Gleichman
|
a71500b099
|
Refactor makePatternGraph.
|
2016-12-27 20:40:50 -08:00 |
|
Robbie Gleichman
|
e0554fb819
|
Move functions out of Types.hs.
|
2016-12-27 15:14:01 -08:00 |
|
Robbie Gleichman
|
959be858a7
|
Remove parameter from getUniqueName.
|
2016-12-27 14:58:09 -08:00 |
|
Robbie Gleichman
|
f2f54d9c3b
|
Turn SgNamedNode into a data type.
|
2016-12-27 01:32:51 -08:00 |
|
Robbie Gleichman
|
7ab8d2d442
|
Make GraphAndRef a data type.
|
2016-12-27 00:37:59 -08:00 |
|
Robbie Gleichman
|
5c399b9e50
|
For SyntaxGraph, use a data type (SgSink) for sinks.
|
2016-12-26 16:52:04 -08:00 |
|
Robbie Gleichman
|
771f9a7cc3
|
For SyntaxGraph, rename sgSources to sgBinds, and use a data type (SgBind) instead of a tuple.
|
2016-12-26 16:37:10 -08:00 |
|
Robbie Gleichman
|
1fb31aaf81
|
Rearrange Translate.hs.
|
2016-12-26 01:25:14 -08:00 |
|
Robbie Gleichman
|
c426ff422a
|
Fix @ (as patterns).
|
2016-12-25 21:45:58 -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
|
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
|
5d5074cced
|
Reduce warnings.
|
2016-12-13 23:21:34 -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
|
dc09f976cc
|
Replace (<$>) with fmap.
|
2016-12-12 01:06:21 -08:00 |
|
Robbie Gleichman
|
24cbfb6414
|
Add compose infix operator (.) translations.
|
2016-12-11 22:19:23 -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
|
1150fbb63a
|
Add flat compose icon.
|
2016-12-08 19:19:47 -08:00 |
|
Robbie Gleichman
|
fd7a4a2e1f
|
Randomly color edges.
|
2016-12-08 02:41:47 -08:00 |
|
Robbie Gleichman
|
07b4f9bdb2
|
Add back pattern nesting in Translate.hs.
|
2016-12-06 21:09:04 -08:00 |
|
Robbie Gleichman
|
078a3305bf
|
Add and embedding Map to SyntaxGraph.
|
2016-12-06 18:39:38 -08:00 |
|
Robbie Gleichman
|
5e1d724418
|
Change node identifier from string to Int. Now, data NameAndPort = NameAndPort NodeName (Maybe Port), where NodeName and Port are both Int newtypes.
|
2016-12-06 17:02:54 -08:00 |
|
Robbie Gleichman
|
9fd08c7432
|
Add test for improper pattern nesting.
|
2016-12-05 17:14:54 -08:00 |
|
Robbie Gleichman
|
989a8f520e
|
Refactor Rendering.hs to use IngSyntaxGraph instead of Drawing. Eliminate warnings in AllTests.
|
2016-11-30 20:45:50 -08:00 |
|
Robbie Gleichman
|
02446b5b15
|
Reduce GHC warnings.
|
2016-11-27 17:25:30 -08:00 |
|
Robbie Gleichman
|
533392f3c1
|
Fix bind names not having special colors by adding BindNameNode.
|
2016-11-26 13:46:05 -08:00 |
|
Robbie Gleichman
|
4dafd8ea7e
|
Use the new collapseNodes algorithm when rendering. Still need to do embedding for patterns.
|
2016-11-21 19:18:08 -08:00 |
|
Robbie Gleichman
|
deb999a71b
|
Delete/remove IconGraph.
|
2016-11-21 13:57:53 -08:00 |
|
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 |
|