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

13928 Commits

Author SHA1 Message Date
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
Timothy Clem
2f9f9f5752 Merge remote-tracking branch 'origin/master' into remove-sourceState 2017-07-21 09:07:33 -07:00
Timothy Clem
4820e346b5 Merge pull request #1234 from github/catch-error-specs
Fix infinite loop caused by zero width repetions
2017-07-21 09:06:04 -07:00
Timothy Clem
b934b97f27 s/Palatte/Palette 2017-07-21 09:00:30 -07:00
Timothy Clem
20905f6e65 Write this as guards instead 2017-07-21 08:59:38 -07:00
Rick Winfrey
dc0d6ed90b Fix typo 2017-07-20 17:34:19 -07:00
Rick Winfrey
e1460fadc1 Clarify "rest" in terms of Union 2017-07-20 17:25:27 -07:00
Rick Winfrey
74c6714be1 📝 the Diffable instances 2017-07-20 17:21:20 -07:00
Timothy Clem
cf268a3ce3 Make Ruby assignment lenient: everything is an expression 2017-07-20 15:10:12 -07:00
Rick Winfrey
16ed7e704a Merge branch 'master' into diff-assignment-by-syntax 2017-07-20 14:50:52 -07:00
Timothy Clem
ad7342b93f Merge branch 'master' into catch-error-specs 2017-07-20 14:25:23 -07:00
Rick Winfrey
ad70ccb97d 🔥 Diffable for old Syntax 2017-07-20 14:21:59 -07:00
Rick Winfrey
ec5ec8ebb5 Replace diffLinearly -> diffRecursively 2017-07-20 14:17:01 -07:00
Rick Winfrey
b6396fbd51 Derive Diffable instances for Syntax constructors 2017-07-20 14:16:18 -07:00
Rick Winfrey
c8da38ddc2 Add Diffable class and instances 2017-07-20 14:15:01 -07:00
Timothy Clem
9618db2cdb Produce program syntaxes (for ruby at least) 2017-07-20 13:52:10 -07:00
Timothy Clem
fc9851334f Introduce expressions and declarations to Python assignment to cleanup code 2017-07-20 11:54:41 -07:00