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

11996 Commits

Author SHA1 Message Date
Timothy Clem
c862b7bcf5 Remove benchmark target 2017-04-10 15:04:45 -07:00
Rob Rix
000fa34a50 s/Switch/Match/. 2017-04-10 16:44:57 -04:00
Rob Rix
e50ebc2765 Use a single code path for assigning all nodes in a list. 2017-04-10 16:37:00 -04:00
Rob Rix
aa0d65747f Make the Eq & Eq1 instances agree. 2017-04-10 16:09:40 -04:00
Rob Rix
848f0759bb Explicit exports. 2017-04-10 16:02:33 -04:00
Timothy Clem
a03f0da106 Command.Parse doesn't need to know about Arguments 2017-04-10 11:28:09 -07:00
Rob Rix
837bb03ce6 Merge branch 'master' into subparsers 2017-04-10 11:41:41 -04:00
Rob Rix
35fb87c1f9 Merge branch 'master' into syntax-a-la-carte 2017-04-10 11:29:28 -04:00
Rob Rix
ae71489aa1 Merge pull request #1075 from github/what-the-hspec
Combine output stats for all specs
2017-04-10 11:29:05 -04:00
Rob Rix
a151a24885 What the efff, apparently. 2017-04-10 11:27:26 -04:00
Rob Rix
5ad80666ad Test that children assignments match multiple nested children. 2017-04-10 11:24:30 -04:00
Rob Rix
5938d21653 Children assignments run their sub-assignment and then yield. 2017-04-10 11:24:20 -04:00
Rob Rix
3684872e32 Tighten up rule assignment with guard. 2017-04-10 11:14:04 -04:00
Rob Rix
b1b1d2bd2f Test that assignment continues after children assignments. 2017-04-10 10:52:12 -04:00
Rob Rix
c2482a0610 Test that children assignments nest. 2017-04-10 10:35:39 -04:00
Rob Rix
c9cf3d0bb8 Tidy up the repetition test. 2017-04-10 09:01:33 -04:00
Rob Rix
5349354910 Merge branch 'master' into what-the-hspec 2017-04-08 10:30:22 -04:00
Rob Rix
52263c7aa4 Reformat children assignment evaluation. 2017-04-08 09:12:42 -04:00
Rob Rix
72ad4e027e Generalize the ast helper over the grammar type. 2017-04-07 21:26:02 -04:00
Rob Rix
755b448ac5 Show assignments after effects. 2017-04-07 18:31:37 -04:00
joshvera
2cff2caf68 Use the RWS effect 2017-04-07 17:59:45 -04:00
joshvera
013e7660a8 Move the rest of rws to an effect 2017-04-07 17:48:14 -04:00
Rob Rix
b4847b0a1c Class scope can have multiple independent entries. 2017-04-07 16:42:15 -04:00
Rob Rix
f73542ea8e Define a Show1 instance for AssignmentF. 2017-04-07 16:42:09 -04:00
Rob Rix
22c9fb404d Show data constructors. 2017-04-07 16:39:33 -04:00
Rob Rix
cc5ba7674f Clarify Union’s Show1 instance. 2017-04-07 16:34:56 -04:00
joshvera
954186942a Add minimumTermIndex 2017-04-07 16:08:49 -04:00
joshvera
2e3b28ec78 Stub out rws function 2017-04-07 15:59:00 -04:00
joshvera
752d494795 Implement genFeaturizedTermsAndDiffs as an effect 2017-04-07 15:42:32 -04:00
Rob Rix
e3140636b7 Don’t export AssignmentF or its constructors. 2017-04-07 15:00:44 -04:00
Rob Rix
a43ff988ae Test that rule assignment does not advance the cursor. 2017-04-07 14:59:13 -04:00
Rob Rix
79454112c5 Test that content assignment advances the cursor. 2017-04-07 14:57:44 -04:00
Rob Rix
c2a2b0b32b Test that content assignment produces nodes’ content. 2017-04-07 14:57:00 -04:00
Rob Rix
0cc5c84706 Move the rule assignment tests down. 2017-04-07 14:50:57 -04:00
Rob Rix
f082473b4f Rename the test for rule assignments. 2017-04-07 14:48:02 -04:00
Rob Rix
df130daceb Group the Applicative tests together. 2017-04-07 14:47:31 -04:00
Rob Rix
806d4a702f Group the Alternative tests together. 2017-04-07 14:47:23 -04:00
joshvera
999cfbc57c Add SES effect 2017-04-07 14:44:37 -04:00
Rob Rix
71c5372d17 Test that children assignment fails if the subrule fails. 2017-04-07 14:43:53 -04:00
Rob Rix
b2da4ca89a Test that children assignments match if their subrule matches. 2017-04-07 14:42:25 -04:00
Rob Rix
dfb5cff0dc Test that children advances the cursor. 2017-04-07 14:39:13 -04:00
Rob Rix
03ea4a55fc Correct the test assignments. 2017-04-07 14:37:22 -04:00
Rob Rix
cec63c69aa Pull the Ruby rules out to the top level. 2017-04-07 14:29:48 -04:00
Rob Rix
1df2c979ec Define a function to run the assignment for all the nodes. 2017-04-07 14:26:51 -04:00
Rob Rix
7453872869 Reformat the method rule a little. 2017-04-07 14:18:31 -04:00
Rob Rix
1d75bda845 Correct the method rule. 2017-04-07 14:16:58 -04:00
Rob Rix
b2cacf0d81 Reformat the rules a little. 2017-04-07 14:16:37 -04:00
Rob Rix
20f4f30ae9 🔥 a bunch of unnecessary type signatures. 2017-04-07 14:10:43 -04:00
Rob Rix
f5f080f1dd Correct the 📝 for rule. 2017-04-07 14:08:59 -04:00
Rob Rix
401ecdbe78 Rule assignment is used in normal applicative form. 2017-04-07 14:04:56 -04:00