1
1
mirror of https://github.com/github/semantic.git synced 2024-12-25 16:02:43 +03:00
Commit Graph

13958 Commits

Author SHA1 Message Date
Rob Rix
1b3a8f1311 Simplify error construction. 2017-07-22 15:34:56 -04:00
Rob Rix
a04a05cf1a Combine ErrorCause into Error. 2017-07-22 15:31:43 -04:00
Rob Rix
8f492b7a9a Combine the error clauses. 2017-07-22 15:19:27 -04:00
Rob Rix
126e319b88 Bind the head node. 2017-07-22 15:07:31 -04:00
Rob Rix
fd27976ba6 🔥 the note re: nullability.
It really only made sense when we were matching stateNodes at the same time.
2017-07-22 15:04:42 -04:00
Rob Rix
6a80c9dae9 🔥 some unneccessary quantifiers. 2017-07-22 15:03:58 -04:00
Rob Rix
8062a7aad4 Spacing. 2017-07-22 15:02:17 -04:00
Rob Rix
1d8c4fdeea Define a helper to project nodes. 2017-07-22 15:01:29 -04:00
Rob Rix
40313b598f Simplify the chain for choices. 2017-07-22 14:56:19 -04:00
Rob Rix
f628d22aee Match the head node with guard clauses. 2017-07-22 14:52:34 -04:00
Rob Rix
140b5cf49b Simplify how the node is projected out. 2017-07-22 14:50:26 -04:00
Rob Rix
11e83f0413 Define the error cases with guard clauses. 2017-07-22 14:49:14 -04:00
Rob Rix
dc9bfe28d1 Combine the rules for Location assignments. 2017-07-22 14:41:58 -04:00
Rob Rix
e8afa8817e Preserve backtracking errors via a setter. 2017-07-22 14:34:04 -04:00
Rob Rix
9bac600596 Define advanceState closed over the projection. 2017-07-22 14:27:46 -04:00
Rob Rix
8be255dfd7 Define dropAnonymous closed over the projection. 2017-07-22 14:24:43 -04:00
Rob Rix
8404b320b6 Define expectedSymbols with guard clauses. 2017-07-22 14:23:38 -04:00
Rob Rix
346d87b572 Tighten up the computation of the starting state. 2017-07-22 14:23:01 -04:00
Rob Rix
b97deff731 Tighten up how alternations are run. 2017-07-22 14:12:04 -04:00
Rob Rix
48cfac86f2 Tighten up how catching is run. 2017-07-22 14:10:56 -04:00
Rob Rix
fd20883532 📝 stateError. 2017-07-22 14:09:13 -04:00
Rob Rix
b9353f0d15 📝 the arguments to assignBy. 2017-07-22 14:07:58 -04:00
Rob Rix
53bb412fd3 Align the arguments with the ::. 2017-07-22 14:06:44 -04:00
Rob Rix
83a0d9c60e Swap the order of the source & assignment. 2017-07-22 14:06:07 -04:00
Rob Rix
455f912941 Swap the order of the projection & source. 2017-07-22 14:04:52 -04:00
Rob Rix
d464da8089 runAssignment is exhaustive. 2017-07-22 13:59:45 -04:00
Rob Rix
a1d03bb6cc Inline go. 2017-07-22 13:56:56 -04:00
Rob Rix
4eabcf9cfc Reformat the type signature for go. 2017-07-22 13:50:31 -04:00
Rob Rix
8a1a027e22 🔥 assign. 2017-07-22 13:47:36 -04:00
Rob Rix
9822c85709 🔥 assignAllFrom. 2017-07-22 13:47:08 -04:00
Rob Rix
0666ea03fe Define assignBy in terms of runAssignment & requireExhaustive. 2017-07-22 13:46:54 -04:00
Rob Rix
353847c5e3 Recur and then require exhaustiveness. 2017-07-22 13:45:50 -04:00
Rob Rix
07b132e631 Define a combinator requiring exhaustiveness. 2017-07-22 13:44:51 -04:00
Rob Rix
15b7735874 Define assignAllFrom using do-notation. 2017-07-22 13:38:16 -04:00
Rob Rix
2b72ca3a8a Inline runMany. 2017-07-22 13:34:43 -04:00
Rob Rix
fab398e089 Pull runMany out of run. 2017-07-22 13:34:40 -04:00
Rob Rix
a7a04ae3d3 📝 the parameters to runAssignment. 2017-07-22 13:32:51 -04:00
Rob Rix
5b674d1940 runMany closes over the source and projection. 2017-07-22 13:29:41 -04:00
Rob Rix
37494f9c03 go shadows the result type parameter. 2017-07-22 13:29:12 -04:00
Rob Rix
ee66fc74bf runMany shadows the result type parameter. 2017-07-22 13:28:59 -04:00
Rob Rix
cbed2b82a0 run shadows the result type parameter. 2017-07-22 13:28:45 -04:00
Rob Rix
4b28073c6e Pull the body of runAssignment into a worker function. 2017-07-22 13:24:09 -04:00
Rob Rix
f3a780e3a9 Reformat the type signature for run. 2017-07-22 13:22:42 -04:00
Timothy Clem
c1f55cf904 Merge pull request #1238 from github/program-nodes-in-parse-tree-output
Produce program syntaxes (for ruby at least)
2017-07-21 13:33:58 -07:00
Timothy Clem
edbc7a5a0a Program's gotta be Diffable 2017-07-21 13:30:32 -07:00
Timothy Clem
3ec1f212e6 Merge branch 'master' into program-nodes-in-parse-tree-output 2017-07-21 13:25:19 -07:00
Timothy Clem
c540661bb2 Unwrap one level of structure for ExpressionStatement in Python 2017-07-21 12:24:14 -07:00
Timothy Clem
3522fb2170 Don't display for in ConstructorName 2017-07-21 12:23:54 -07:00
Rick Winfrey
6486cc58b7 Merge pull request #1239 from github/diff-assignment-by-syntax
Generically diff assignment by syntax
2017-07-21 11:03:27 -07:00
Rick Winfrey
b7339fef17 Merge branch 'master' into diff-assignment-by-syntax 2017-07-21 10:52:17 -07:00