Rob Rix
|
40a5c5594b
|
Rename assignBy to assign.
|
2017-08-16 13:21:57 -04:00 |
|
Timothy Clem
|
c43b7a33cb
|
Merge pull request #1253 from github/ruby-assignment-fixes
Ruby assignment fixes
|
2017-08-16 10:18:09 -07:00 |
|
Timothy Clem
|
ebca8e49ce
|
Lambdas get an update
|
2017-08-16 10:13:48 -07:00 |
|
Rob Rix
|
fd44cc8603
|
Throw always has a valid error.
|
2017-08-16 13:11:57 -04:00 |
|
Rob Rix
|
05c1db40fd
|
Alt holds a normal list.
|
2017-08-16 13:10:43 -04:00 |
|
Rob Rix
|
99bdeb6ce5
|
Compute the first set for label rules.
|
2017-08-16 13:08:33 -04:00 |
|
Timothy Clem
|
f9c05e959c
|
++ haskell-tree-sitter and tree-sitter-ruby
|
2017-08-16 10:02:18 -07:00 |
|
Rob Rix
|
ee42a0ece8
|
Push alternation through currentNode.
|
2017-08-16 13:02:17 -04:00 |
|
Rob Rix
|
7a996f739c
|
Push alternation through advance & eof.
|
2017-08-16 13:01:33 -04:00 |
|
Rob Rix
|
b2072d24ca
|
🔥 the state effects.
|
2017-08-16 13:01:00 -04:00 |
|
Rob Rix
|
85bd4671b8
|
Fix node handling.
|
2017-08-16 12:56:30 -04:00 |
|
Rob Rix
|
889e8031a5
|
Revert "Define currentNode in terms of state."
This reverts commit 034449cadff61b15101f26ac9313e8dc4fc44432.
|
2017-08-16 12:50:35 -04:00 |
|
Rob Rix
|
098b9f8941
|
Revert "Define location in terms of state."
This reverts commit e90b5c5e0ddba4390ec6230357accf96f6211a1c.
|
2017-08-16 12:49:30 -04:00 |
|
Rob Rix
|
994d40cf23
|
Revert "Define advance in terms of state."
This reverts commit 7387c9ae3719f92bea2ac3b776561b099ee3e599.
|
2017-08-16 12:48:52 -04:00 |
|
Rob Rix
|
4daab99a09
|
Revert "Define eof in terms of state."
This reverts commit b71a285f23f1a7112173f03a2041bebaae637940.
|
2017-08-16 12:48:39 -04:00 |
|
Rob Rix
|
d861ff4329
|
Define eof in terms of state.
|
2017-08-16 12:38:31 -04:00 |
|
Rob Rix
|
1f36dc6136
|
Pull requireExhaustive out to the top level.
|
2017-08-16 12:36:32 -04:00 |
|
Rob Rix
|
b14ec8b99a
|
Pull skipTokens out to the top level.
|
2017-08-16 12:35:56 -04:00 |
|
Rob Rix
|
35c69f6ba1
|
Rename dropAnonymous to skipTokens.
|
2017-08-16 12:35:44 -04:00 |
|
Rob Rix
|
b0f3d967c5
|
Use the AST synonym widely.
|
2017-08-16 12:26:41 -04:00 |
|
Rob Rix
|
a5812184b8
|
Tidy up Markdown with the AST synonym.
|
2017-08-16 12:24:47 -04:00 |
|
Rob Rix
|
6bbaa7a8e6
|
Parameterize the AST synonym by the functor.
|
2017-08-16 12:24:02 -04:00 |
|
Rob Rix
|
8d6d7535e8
|
Try to push alternation through equal states.
|
2017-08-16 12:23:00 -04:00 |
|
Rob Rix
|
4f46843e26
|
Push alternation through Get.
|
2017-08-16 12:20:42 -04:00 |
|
Rob Rix
|
9c198eb08a
|
Define advance in terms of state.
|
2017-08-16 12:19:29 -04:00 |
|
Rob Rix
|
0ba1035755
|
Pull the advance state function out to the top level.
|
2017-08-16 12:18:40 -04:00 |
|
Rob Rix
|
a66bdfe1bb
|
Define location in terms of state.
|
2017-08-16 12:13:55 -04:00 |
|
Rob Rix
|
496ee5a3c9
|
Assignment takes Cofree structures.
|
2017-08-16 12:07:53 -04:00 |
|
Rob Rix
|
ada798fcdb
|
Define currentNode in terms of state.
|
2017-08-16 11:14:03 -04:00 |
|
Rob Rix
|
d1011231b9
|
State holds projected nodes.
|
2017-08-16 11:13:11 -04:00 |
|
Timothy Clem
|
acde01bf92
|
Merge branch 'master' into ruby-assignment-fixes
|
2017-08-16 07:58:39 -07:00 |
|
Rob Rix
|
61281b8b65
|
Define nodeError using wildcards.
|
2017-08-16 10:55:33 -04:00 |
|
Rob Rix
|
56ae476d28
|
The projection function is rank-1.
|
2017-08-16 10:50:04 -04:00 |
|
Rob Rix
|
226d703baf
|
Sort the imports.
|
2017-08-16 10:49:47 -04:00 |
|
Rob Rix
|
847f8c28c0
|
Drop tokens before the end of branches.
|
2017-08-16 07:41:40 -07:00 |
|
Rob Rix
|
d0337eabca
|
Test that eof matches before anonymous nodes at the end of branches.
Currently failed.
|
2017-08-16 07:41:17 -07:00 |
|
Rob Rix
|
6a4d838f16
|
Test that eof matches at the end of branches.
|
2017-08-16 07:41:17 -07:00 |
|
Rob Rix
|
968e6258e4
|
Merge branch 'master' into systematic-comment-assignment
|
2017-08-16 10:40:38 -04:00 |
|
Rob Rix
|
2b4efe8435
|
Rename project to currentNode.
|
2017-08-16 10:33:56 -04:00 |
|
Rob Rix
|
a8607ce41c
|
Project rules return the current node.
|
2017-08-16 10:31:25 -04:00 |
|
Rob Rix
|
fb7791f852
|
Clean up Markdown assignments a little with token rules.
|
2017-08-16 10:30:25 -04:00 |
|
Josh Vera
|
6d87b858fe
|
Merge pull request #1302 from github/eof-drops-anonymous-nodes
Eof drops anonymous nodes
|
2017-08-16 10:22:50 -04:00 |
|
Rob Rix
|
039789d32a
|
Repeated zero-width matches are ok.
|
2017-08-16 10:10:14 -04:00 |
|
Rob Rix
|
7863683d5e
|
Define a MonadState instance for Assignment.
|
2017-08-16 10:04:36 -04:00 |
|
Rob Rix
|
641b2f1143
|
Merge branch 'master' into ruby-assignment-fixes
|
2017-08-16 09:31:24 -04:00 |
|
Rob Rix
|
68ae0309b6
|
Add context to decorated class/function definitions.
|
2017-08-16 09:18:11 -04:00 |
|
Rob Rix
|
85eac03a14
|
Merge branch 'systematic-comment-assignment' of https://github.com/github/semantic-diff into systematic-comment-assignment
|
2017-08-16 09:06:16 -04:00 |
|
Rob Rix
|
dd7f601149
|
Merge branch 'eof-drops-anonymous-nodes' into systematic-comment-assignment
|
2017-08-16 09:06:03 -04:00 |
|
Rob Rix
|
b52b0ee44a
|
Merge branch 'master' into systematic-comment-assignment
|
2017-08-16 09:05:15 -04:00 |
|
Rob Rix
|
aec9eeb7b9
|
Merge branch 'master' into eof-drops-anonymous-nodes
|
2017-08-16 09:02:45 -04:00 |
|