Commit Graph

312 Commits

Author SHA1 Message Date
Robbie Gleichman
7a854d9679 Simplify EdgeOption and EdgeEnd. 2018-10-30 00:53:36 -07:00
Robbie Gleichman
ccee42c23e Refactor the NestedApply Icon. 2018-10-28 02:16:17 -07: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
4ab6c09cf4 Remove unused extension for Types.hs. Update todo. 2017-02-21 20:10:00 -08:00
Robbie Gleichman
160872df59 Add link to wiki to README 2017-01-10 00:50:38 -08:00
Robbie Gleichman
15ac707e13 Update README 2017-01-09 12:32:38 -08:00
Robbie Gleichman
c405cc6a71 Update todo 2017-01-06 23:22:22 -08:00
Robbie Gleichman
df4fbf3364 Typo in README 2017-01-06 20:43:49 -08:00
Robbie Gleichman
e18fe61d30 Update links to wiki in README 2017-01-06 20:41:07 -08:00
Robbie Gleichman
a396ec7ce3 Add a few more examples to advantages.hs. Add SVG for advantages.hs. 2017-01-06 19:15:30 -08:00
Robbie Gleichman
610ad9a4eb Add advantages.hs which shows some of the advantages of a visual syntax over text. 2017-01-06 17:29:27 -08:00
Robbie Gleichman
f864cc34fc Add thanks section to README. 2017-01-06 16:53:46 -08:00
Robbie Gleichman
477c1378c0 Add links to graph layout issue in README 2017-01-06 16:34:27 -08:00
Robbie Gleichman
c076a953ce Update tutorial SVG in readme 2017-01-05 17:53:39 -08:00
Robbie Gleichman
798466004c Fix ports for case rhs and patterns being switched. Revise tutorial. 2017-01-05 17:52:14 -08:00
Robbie Gleichman
96c10d9e4e Update Stackage to lts-7.14 2017-01-05 02:23:02 -08:00
Robbie Gleichman
00805b72e7 Typo in README 2017-01-05 01:25:40 -08:00
Robbie Gleichman
d77d613fd3 Revise README.md 2017-01-05 01:24:06 -08:00
Robbie Gleichman
84ad780e28 Update tutorial SVG in README 2017-01-04 01:50:55 -08:00
Robbie Gleichman
e8290791da Improve whitespace in tutorial. Update tutorial svg. 2017-01-04 01:47:44 -08: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
69589f7d24 Make a custom version of renderSVG that includes the xml:space=preserve attribute. This preveres whitespace in svg text. 2017-01-03 18:43:33 -08:00
Robbie Gleichman
7468166f14 Update todo. 2017-01-02 00:41:26 -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
54eaa391be Use constants for port numbers in Icons.hs. 2016-12-29 00:55:59 -08:00
Robbie Gleichman
90c3ad8832 Remove hardcoded port numbers from TranslateCore.hs. 2016-12-29 00:38:05 -08:00
Robbie Gleichman
3ed4c846bb Remove hardcoded port numbers from Translate.hs. 2016-12-29 00:15:17 -08:00
Robbie Gleichman
6c5663dccf Revise tutorial. 2016-12-28 19:05:43 -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
631a7a20d1 Use SyntaxGraph constructors in TranslateCore. 2016-12-26 17:01:14 -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
5754fa6560 Update todo. 2016-12-26 00:12:55 -08:00
Robbie Gleichman
c426ff422a Fix @ (as patterns). 2016-12-25 21:45:58 -08:00
Robbie Gleichman
e876c6c401 Don't allow guards to embed PApps. 2016-12-25 17:24:26 -08:00