1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 14:21:31 +03:00
Commit Graph

17989 Commits

Author SHA1 Message Date
Timothy Clem
f644e968ab Remove imports that aren't needed 2017-12-09 18:30:27 -08:00
Timothy Clem
8dae7da7d4 Fix reading blobPairs from stdin 2017-12-09 18:20:47 -08:00
Timothy Clem
4be8c2a4a1 Implement parBitraversable 2017-12-09 18:14:17 -08:00
Timothy Clem
ff1d9591c7 Take path and lang from after file 2017-12-09 18:13:19 -08:00
Timothy Clem
ba2159e940 First attempt at BlobPair as These and bitraversable 2017-12-09 17:36:48 -08:00
Timothy Clem
46cccd5015 Don't parse blobs that don't exist 2017-12-08 11:42:46 -07:00
Rob Rix
27f7a5778f Reformat the replacement rule. 2017-12-07 10:52:21 -07:00
Rob Rix
1717f2a6a6 Replacements use unique node IDs. 2017-12-07 10:18:44 -07:00
Rob Rix
3b3e5495a1 Allow multiple in-edges per iteration. 2017-12-07 10:14:30 -07:00
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
Timothy Clem
88700608b6 Formatting and linting 2017-12-01 16:34:36 -08:00
Rick Winfrey
7c1d381530 Turn on Go assignment 2017-12-01 14:45:37 -08:00
Timothy Clem
5ba411c538 Needed to evalute? 2017-12-01 14:20:30 -08:00
Timothy Clem
3382a8ae72 No more alternative python 2017-12-01 14:19:55 -08:00
Timothy Clem
89749e9cc8 Default eval instances for everything! 2017-12-01 14:19:37 -08:00
Timothy Clem
ec9a58cee3 Didn't mean to commit this 2017-12-01 14:18:11 -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
Timothy Clem
13f029238f Use newtypes 2017-12-01 13:23:33 -08:00
Timothy Clem
1676d949fa Not using fail 2017-12-01 13:23:28 -08:00
Rick Winfrey
7ee4b04c1f Update CyclomaticComplexity 2017-12-01 13:00:30 -08:00
Rob Rix
43237fff1e No need to qualify these names. 2017-12-01 14:44:21 -05:00
Rob Rix
bf26a25cff 📝 why the unsafeCoerce is ok. 2017-12-01 14:42:26 -05:00