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

11034 Commits

Author SHA1 Message Date
Rob Rix
597914a902 Move the instances section header below the classes. 2017-12-21 09:45:11 -05:00
Rob Rix
06669a158e 📝 LocationFor. 2017-12-21 09:44:39 -05:00
Rob Rix
656bab23dc 📝 String. 2017-12-21 09:43:09 -05:00
Rob Rix
33ea369892 📝 Integer. 2017-12-21 09:42:58 -05:00
Rob Rix
ca19daf137 📝 Boolean. 2017-12-21 09:42:32 -05:00
Rob Rix
cae0325084 📝 Unit. 2017-12-21 09:42:10 -05:00
Rob Rix
acf46ec14f Note a todo for Declaration.Function. 2017-12-21 09:41:33 -05:00
Rob Rix
ea4e0dcc6c 📝 Closure. 2017-12-21 09:40:38 -05:00
Rob Rix
6d89beccea Note some todos for Value. 2017-12-21 09:39:31 -05:00
Rob Rix
4a65cd0da0 Note that we’re going to migrate to à la carte representations of types. 2017-12-20 17:27:10 -05:00
Rob Rix
7802356d85 Note a bug in unify. 2017-12-20 17:26:37 -05:00
Rob Rix
9aa0ae2f32 TODO 2017-12-20 17:25:52 -05:00
Rob Rix
3dd17d794c Spacing. 2017-12-20 17:25:09 -05:00
Rob Rix
2f9fb36944 📝 the constructors of Type. 2017-12-20 17:24:30 -05:00
Rob Rix
a27afc847b 📝 Type. 2017-12-20 17:22:50 -05:00
Rob Rix
67713cade6 📝 TName. 2017-12-20 17:22:16 -05:00
Rob Rix
38f1f59125 📝 storeRestrict. 2017-12-20 17:21:55 -05:00
Rob Rix
6ba82ee2da 📝 storeSize. 2017-12-20 17:20:45 -05:00
Rob Rix
82468ec491 📝 storeInsert. 2017-12-20 17:19:29 -05:00
Rob Rix
fd14bb4672 Eta-expand the definition of storeInsert. 2017-12-20 17:18:54 -05:00
Rob Rix
1ea1d1e0ca 📝 storeLookupAll. 2017-12-20 17:18:07 -05:00
Rob Rix
48ac9e284a 📝 storeLookup. 2017-12-20 17:17:39 -05:00
Rob Rix
26946fce96 Eta-expand storeLookup. 2017-12-20 17:16:39 -05:00
Rob Rix
ba6d00f900 📝 Store. 2017-12-20 17:16:01 -05:00
Rob Rix
d156b2d1d1 Spacing. 2017-12-20 17:15:10 -05:00
Rob Rix
7c72f52a14 📝 freeVariables1. 2017-12-20 17:15:06 -05:00
Rob Rix
bd89fdf419 📝 liftFreeVariables. 2017-12-20 17:14:09 -05:00
Rob Rix
0d11c18036 📝 FreeVariables1. 2017-12-20 17:12:53 -05:00
Rob Rix
c98b61e372 📝 freeVariables. 2017-12-20 17:12:31 -05:00
Rob Rix
9c094d76ae 📝 FreeVariables. 2017-12-20 17:12:08 -05:00
Rob Rix
ead999a09f Move FreeVariables up. 2017-12-20 17:10:23 -05:00
Rob Rix
dcd79a365a 📝 Name. 2017-12-20 17:09:59 -05:00
Rob Rix
4b8f581f24 📝 Latest. 2017-12-20 17:09:36 -05:00
Rob Rix
e6a5ebc8e4 📝 Cell. 2017-12-20 17:08:30 -05:00
Rob Rix
6cf473d72f 📝 Configuration’s fields. 2017-12-20 17:07:17 -05:00
Rob Rix
55cff81127 📝 Configuration. 2017-12-20 17:07:08 -05:00
Rob Rix
2fcb8b3834 📝 liveSplit. 2017-12-20 16:51:56 -05:00
Rob Rix
fc9ded164d 📝 liveMember. 2017-12-20 16:30:32 -05:00
Rob Rix
06be77e006 📝 liveDifference. 2017-12-20 16:29:55 -05:00
Rob Rix
31a561751c 📝 liveDelete. 2017-12-20 16:24:17 -05:00
Rob Rix
dae3e8caa3 📝 liveInsert. 2017-12-20 16:23:33 -05:00
Rob Rix
2e65116f11 📝 liveSingleton. 2017-12-20 16:23:05 -05:00
Rob Rix
38baddc489 📝 Live. 2017-12-20 16:22:41 -05:00
Rob Rix
1e546234f2 📝 Cache. 2017-12-20 16:19:32 -05:00
Rob Rix
cb833cfca1 📝 cacheInsert. 2017-12-20 16:18:25 -05:00
Rob Rix
de4a622728 📝 cacheSet. 2017-12-20 16:18:22 -05:00
Rob Rix
59f4107263 Eta-expand cacheInsert. 2017-12-20 16:16:50 -05:00
Rob Rix
2b6e3974c2 Eta-expand cacheSet. 2017-12-20 16:16:03 -05:00
Rob Rix
5488187caf 📝 cacheLookup. 2017-12-20 16:15:06 -05:00
Rob Rix
7f8755b748 📝 envRoots. 2017-12-20 16:13:00 -05:00
Timothy Clem
f26ef5a59a Merge branch 'master' of github.com:github/semantic-diff into integrate-abstract-interpretation 2017-12-20 09:04:55 -08:00
Timothy Clem
26783a5990 Formatting 2017-12-20 08:58:11 -08:00
Timothy Clem
3e2e17f129 More code docs 2017-12-20 08:58:04 -08:00
Timothy Clem
de2fe0816c Few minor function docs 2017-12-20 08:57:46 -08:00
Timothy Clem
c7f164dffe Leave out the symbolic interpreter for now 2017-12-20 08:57:18 -08:00
Rick Winfrey
e56ec0a416 Merge branch 'master' into update-go-assignment 2017-12-19 14:08:14 -08:00
Rick Winfrey
64149bff77 Assign MethodSpecLIst 2017-12-19 13:58:06 -08:00
Rick Winfrey
2ef9c72ed2 Match ArgumentList alias 2017-12-19 13:57:57 -08:00
Rick Winfrey
28003f518e Assign importSpecList 2017-12-19 10:46:34 -08:00
Rick Winfrey
5cc5eb3b8e Assign fieldDeclarationList 2017-12-19 10:46:24 -08:00
Rick Winfrey
28763d1616 Assign argument lists 2017-12-19 10:40:36 -08:00
Rick Winfrey
0df164570e Rename Parameters -> ParameterList 2017-12-19 10:40:26 -08:00
joshvera
99d9b7c97a Merge master into 🔥-monolithic-syntax 2017-12-19 13:09:30 -05:00
Timothy Clem
df09487c42 Eval instance for Return 2017-12-18 15:23:21 -08:00
Timothy Clem
859aa731a5 Merge branch 'master' into integrate-abstract-interpretation 2017-12-18 13:52:10 -08:00
Rob Rix
a112fca6f3 Merge branch 'master' into 🔥-monolithic-syntax 2017-12-18 15:07:00 -05:00
Rob Rix
5f49f4589c Replacements advance past the maximal id in the before state. 2017-12-18 11:29:34 -05:00
Rob Rix
3ae354b750 Bind fewer intermediate variables. 2017-12-18 11:22:03 -05:00
Rob Rix
54621da8d6 Render each node and edge alone on a line. 2017-12-18 11:11:56 -05:00
Rob Rix
ff43062310 Correct how the graph title is constructed. 2017-12-18 11:07:40 -05:00
Rob Rix
3aa6333405 🔥 redundant parens. 2017-12-18 11:02:31 -05:00
Rob Rix
3df9140c0a renderDOTDiff takes its blobs in These. 2017-12-18 10:54:51 -05:00
Rob Rix
c435f8e55a Merge branch 'master' into dot-renderer 2017-12-18 08:41:33 -07:00
Rob Rix
96c94e7672 iterFreer’s algebra takes the continuation & instruction in the opposite order. 2017-12-13 09:18:42 -08:00
Timothy Clem
8e8d2fb41e Merge remote-tracking branch 'origin/master' into bidistribute 2017-12-13 09:14:05 -08:00
Josh Vera
8fa6a723e6 Merge branch 'master' into identifierAlgebra 2017-12-12 15:50:56 -05:00
Josh Vera
3c2edc1833 Merge branch 'master' into dot-renderer 2017-12-12 14:48:18 -05:00
Timothy Clem
5b7df2b3f2 Use new identifier decorator for json output 2017-12-12 11:34:02 -08:00
Timothy Clem
58ebcbfb00 Add IdentifierName decorator 2017-12-12 11:32:12 -08:00
Josh Vera
3b51c592d9 Merge branch 'master' into rws-minus-p-equals-rws 2017-12-12 13:36:03 -05:00
Rick Winfrey
3028946612 Define a default method for the CustomHasCyclomaticComplexity typeclass 2017-12-11 15:39:41 -08:00
Rick Winfrey
01c30abc2d Add single blob parser util function for convenience 2017-12-11 15:39:12 -08:00
Rick Winfrey
3610ec269b Merge branch 'master' into cyclomatic-complexity-decorator 2017-12-11 14:36:08 -08:00
Rick Winfrey
cda1779d64 Update comment 2017-12-11 14:29:30 -08:00
Timothy Clem
143b1b8a12 Document Bidistribute 2017-12-11 12:58:50 -08:00
Timothy Clem
ed47cbc85d Formatting 2017-12-11 12:58:43 -08:00
Timothy Clem
8d7701fd7f Docs 2017-12-11 11:15:29 -08:00
Timothy Clem
30f5b9bd4b Just moving things around 2017-12-11 11:09:37 -08:00
Timothy Clem
deb7ebadd2 🔥 blobOid too 2017-12-11 11:03:00 -08:00
Timothy Clem
ad377910f9 Completely remove blobKind 2017-12-11 10:54:18 -08:00
Timothy Clem
8ce213fc44 No longer need to track blobKind in Maybe 2017-12-11 10:51:52 -08:00
Timothy Clem
844fc3f8b5 Use Join These Blob instead 2017-12-11 09:09:07 -08:00
Timothy Clem
afd82561e9 Minor doc cleanup 2017-12-11 08:27:02 -08:00
Timothy Clem
24d98ad71c Fix up tests 2017-12-10 08:46:17 -08:00
Timothy Clem
01ddc29c82 Fix Util functions 2017-12-09 18:31:01 -08:00
Timothy Clem
c3b6e260cb Simplify effectivePath/Language 2017-12-09 18:30:52 -08:00
Timothy Clem
2315a27e8f Add pathForBlobPair helper 2017-12-09 18:30:37 -08:00
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
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
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
Rob Rix
d809e0b81d Only coerce the set itself. 2017-12-01 14:39:20 -05:00
Rick Winfrey
e7a5e88d5e First pass updating CyclomaticComplexity 2017-12-01 11:39:04 -08:00
Rob Rix
3652fd2c63 Rename the live set functions uniquely. 2017-12-01 14:33:41 -05:00
Rob Rix
67f8aedc50 Use Live to represent root sets. 2017-12-01 14:30:05 -05:00
Rob Rix
07ec5e3238 Define insertion into live sets. 2017-12-01 14:28:35 -05:00
Rob Rix
3b315112dc Define Live.delete tacitly. 2017-12-01 14:28:28 -05:00