Rob Rix
0ba3ec6bd1
Rename graphAlgebra to termAlgebra.
2017-12-07 09:53:29 -07:00
Rob Rix
51affc82a3
Colourize patches.
2017-12-07 09:47:47 -07:00
Rob Rix
a86a50d986
Render diffs to DOT.
2017-12-07 09:36:39 -07:00
Rob Rix
82483e2015
Nodes have a map of attributes.
2017-12-07 09:25:25 -07:00
Rob Rix
d40da054f7
Stub in a title for diff graphs.
2017-12-07 08:44:03 -07:00
Rob Rix
fd6cc2f057
Move the datatypes up a little.
2017-12-07 08:40:44 -07:00
Rob Rix
0bd661b831
Turn on mono local binds.
2017-12-06 13:42:48 -07:00
Rob Rix
b7e3ab1274
Quote the labels.
2017-12-06 13:38:27 -07:00
Rob Rix
b0461325f9
Compute unique names for siblings.
2017-12-06 13:23:22 -07:00
Rob Rix
90349b0abb
Terminate Node renderings with semicolons.
2017-12-06 10:18:12 -07:00
Rob Rix
673dd28537
Pick IDs for nodes.
2017-12-06 09:47:40 -07:00
Rob Rix
dde473abd1
Explicitly list the exports.
2017-12-06 09:42:08 -07:00
Rob Rix
0e4f3cfb56
Fold terms into graphs.
2017-12-06 09:41:54 -07:00
Rob Rix
08134d6cec
Define renderers for Graphs, Nodes, & Edges.
2017-12-06 09:30:06 -07:00
Rob Rix
e9e0f14248
Define a Monoid instance for Graph.
2017-12-06 09:29:35 -07:00
Rob Rix
d1dd288ec7
Define a Semigroup instance for Graph.
2017-12-06 09:29:27 -07:00
Rob Rix
55308e6fc6
Define Graph, Node, & Edge datatypes.
2017-12-06 09:29:04 -07:00
Rob Rix
30fce0aaf1
Add an eliminator for ConstructorLabel.
2017-12-06 09:14:52 -07:00
Rob Rix
9995d527d5
Pass the blobs to the DOT renderers.
2017-12-06 09:03:10 -07:00
Rob Rix
7fe9c3b2ea
Add CLI options for DOT rendering.
2017-12-06 09:01:48 -07:00
Rob Rix
887ea76454
Add DOT term/diff renderers.
2017-12-06 09:01:32 -07:00
Rob Rix
82fc60d524
Re-export the DOT rendering functions.
2017-12-06 09:00:55 -07:00
Rob Rix
4ef26933dc
Stub in functions to render to DOT.
2017-12-06 08:58:06 -07:00
Rob Rix
d880f22964
Stub in a module for a DOT renderer.
2017-12-06 08:49:06 -07:00
Rick Winfrey
750c4a6d3e
Contextualize specific syntax for function and method declarations
...
- These assignment rules are two of the only places in Go assignment where individual syntax rules are used. This wraps those syntax rules in `term`, so that they can be contextualized.
2017-12-02 12:44:28 -08:00
Rick Winfrey
7c1d381530
Turn on Go assignment
2017-12-01 14:45:37 -08:00
Rob Rix
10b8de93b3
Update the fixtures.
2017-12-01 17:13:24 -05:00
Rob Rix
d2cb077ddc
Don’t assign parent labels to grams.
2017-12-01 17:07:03 -05:00
Rob Rix
99f3633060
Generalize featureVectorDecorator to accept any Hashable label.
2017-12-01 17:00:40 -05:00
Rick Winfrey
d649a514af
Update tests
2017-12-01 13:36:38 -08:00
Rick Winfrey
21024a0506
🔥 unnecessary language extensions
2017-12-01 13:36:32 -08:00
Rick Winfrey
7ee4b04c1f
Update CyclomaticComplexity
2017-12-01 13:00:30 -08:00
Rick Winfrey
e7a5e88d5e
First pass updating CyclomaticComplexity
2017-12-01 11:39:04 -08:00
Rick Winfrey
df52854ef0
Merge branch 'master' into cyclomatic-complexity-decorator
2017-12-01 11:23:15 -08:00
Rob Rix
2c561be63f
Merge pull request #1450 from github/update-go-toc-rendering
...
Better isolate function name for function declarations vs function literals
2017-12-01 11:27:17 -05:00
Rob Rix
cffe4a757e
Merge branch 'master' into update-go-toc-rendering
2017-12-01 11:22:27 -05:00
Rob Rix
6b586f035e
Merge pull request #1449 from github/better-generic-show1-instances
...
Better generic Show1 instances
2017-12-01 11:20:21 -05:00
Rick Winfrey
e18ca5b9d0
Merge branch 'update-go-toc-rendering' of github.com:github/semantic-diff into update-go-toc-rendering
2017-11-30 16:55:40 -08:00
Rick Winfrey
be3d497f8c
Add interface test cases for method specs without return types
2017-11-30 16:55:38 -08:00
Rick Winfrey
57015bc8bd
Update methodSpec assignments to not require return type
2017-11-30 16:55:20 -08:00
Rick Winfrey
3bc8c4cff5
Merge branch 'master' into update-go-toc-rendering
2017-11-30 16:37:14 -08:00
Rick Winfrey
442824949d
Update tests
2017-11-30 16:28:04 -08:00
Rick Winfrey
35a83422f4
Do less work for more accuracy
2017-11-30 16:26:45 -08:00
Rick Winfrey
bafff20f3b
Tokenize the fun
keyword in function declarations
2017-11-30 16:02:16 -08:00
Rob Rix
8da948440e
Merge branch 'master' into better-generic-show1-instances
2017-11-30 17:10:03 -05:00
Rob Rix
44bdfbe8b6
Merge pull request #1447 from github/musical-modules
...
♩ Musical modules ♫
2017-11-30 17:09:08 -05:00
Rob Rix
d1da673a9f
More docs for F- & R-algebras.
...
cc @joshvera — I talked a little about open recursion as well.
2017-11-30 17:04:36 -05:00
Rob Rix
4ccf265c4e
Opt the tests into using record syntax.
2017-11-30 11:12:23 -05:00
Rob Rix
d843c9a328
Rename the option.
2017-11-30 11:10:22 -05:00
Rob Rix
6f30e47589
Omit selectors by default.
2017-11-30 11:09:41 -05:00