1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 06:41:45 +03:00
Commit Graph

13944 Commits

Author SHA1 Message Date
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
Rick Winfrey
589acd30fd Update 📝 2017-07-21 10:50:53 -07:00
Rick Winfrey
62129785f2 Move instance 2017-07-21 10:50:24 -07:00
Timothy Clem
68b2352745 Merge remote-tracking branch 'origin/master' into program-nodes-in-parse-tree-output 2017-07-21 10:39:34 -07:00
Timothy Clem
34e3dc9965 Add Program syntax wrapper to python too 2017-07-21 10:31:57 -07:00
Timothy Clem
740ddc42ca Merge pull request #1240 from github/lenient-ruby-assignment
Make Ruby assignment lenient
2017-07-21 10:03:38 -07:00
Timothy Clem
289e0cbd2a Merge remote-tracking branch 'origin/master' into lenient-ruby-assignment 2017-07-21 09:52:57 -07:00
Timothy Clem
4b25ff1636 Merge remote-tracking branch 'origin/master' into lenient-ruby-assignment 2017-07-21 09:52:03 -07:00
Timothy Clem
dad86d0dd8 Merge branch 'master' into program-nodes-in-parse-tree-output 2017-07-21 09:51:50 -07:00
Timothy Clem
7b9099f6c2 Merge pull request #1237 from github/fix-some-python-assignment-errors
Fix some python assignment errors
2017-07-21 09:51:24 -07:00
Timothy Clem
5d1720f93c Merge remote-tracking branch 'origin/master' into fix-some-python-assignment-errors 2017-07-21 09:47:16 -07:00
Timothy Clem
a4180bc41b Merge pull request #1236 from github/fix-ruby-empty-statement
Try to take some source for Ruby EmptyStatement in assignment
2017-07-21 09:46:53 -07:00
Timothy Clem
1269577a75 Merge remote-tracking branch 'origin/master' into fix-ruby-empty-statement 2017-07-21 09:28:46 -07:00
Timothy Clem
87766719e9 Merge pull request #1235 from github/remove-sourceState
Remove sourceState from AssignmentState
2017-07-21 09:28:11 -07:00
Timothy Clem
9f20e57740 Spacing 2017-07-21 09:08:57 -07:00