1
1
mirror of https://github.com/github/semantic.git synced 2024-12-19 04:41:47 +03:00
Commit Graph

14950 Commits

Author SHA1 Message Date
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
Rob Rix
bc4f6004f1 Drop tokens before the end of branches. 2017-08-16 08:56:43 -04:00
Rob Rix
3c7f471607 Test that eof matches before anonymous nodes at the end of branches.
Currently failed.
2017-08-16 08:55:26 -04:00
Rob Rix
8265390933 Test that eof matches at the end of branches. 2017-08-16 08:52:29 -04:00
Timothy Clem
ce9b380975 Updated when fixtures 2017-08-15 14:22:30 -07:00
Timothy Clem
f0a2f40c10 Few more ruby assignment fixes 2017-08-15 14:16:21 -07:00
Timothy Clem
a0dd6168fa Another version of case 2017-08-15 14:15:53 -07:00
Timothy Clem
84bacf6ad1 Drop anon nodes for eof 2017-08-15 14:14:24 -07:00
Rob Rix
eb73e8a75e Post-contextualize chained terms. 2017-08-15 16:26:30 -04:00
Rob Rix
00a9a6c672 Left-chain comparisons. 2017-08-15 16:23:34 -04:00
Timothy Clem
88291d7215 Merge remote-tracking branch 'origin/master' into ruby-assignment-fixes 2017-08-15 13:07:56 -07:00
Timothy Clem
210d84c658 Use handleError and manyTill in Ruby Assignment 2017-08-15 13:06:43 -07:00
Rob Rix
00867f087f Merge pull request #1300 from github/frog-blast-the-licenses-dir
Treat the licenses dir as vendored.
2017-08-15 11:02:08 -04:00
Timothy Clem
9dda6bf725 Merge remote-tracking branch 'origin/master' into ruby-assignment-fixes 2017-08-15 07:59:24 -07:00