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

1287 Commits

Author SHA1 Message Date
Rick Winfrey
7398e1cf4e Import Parse 2016-11-03 18:17:25 -05:00
Rick Winfrey
a637b78d90 Update callsites 2016-11-03 16:48:17 -05:00
Timothy Clem
6cac25d2a9 Merge remote-tracking branch 'origin/master' into ruby 2016-11-01 08:50:54 -07:00
Rick Winfrey
fb73232449 Verify tests and generation are 👌 2016-11-01 10:19:04 -05:00
Rick Winfrey
d09d0d65d2 Remove EmptyResult constructor (no longer used) 2016-11-01 10:06:55 -05:00
Rick Winfrey
c058ac634d Remove auto-formatted alignment 2016-11-01 10:06:36 -05:00
Rick Winfrey
67adf75fdf ++JavaScript tests 2016-11-01 10:03:25 -05:00
Rick Winfrey
35ff284569 Remove warning unnecessary do 2016-11-01 09:52:09 -05:00
Rick Winfrey
d9adbe8783 Simplify JSONMetaRepo fields 2016-11-01 09:51:54 -05:00
Timothy Clem
5f20127044 Stub out expected todo for ruby control statements 2016-10-31 13:56:19 -07:00
Timothy Clem
37ac36e22c Regenerate with s/_/- and todos 2016-10-31 13:21:58 -07:00
Timothy Clem
2c96933c29 Generate to fix multiple-assignment 2016-10-31 13:14:58 -07:00
Timothy Clem
9ac247dbd4 Element reference parsing, control statement tests 2016-10-31 10:15:44 -07:00
Rick Winfrey
532a29aeec Rename SemanticGitDiffSpec.hs -> IntegrationFormatSpec.hs 2016-10-27 21:09:04 -05:00
Rick Winfrey
b2709315c5 Rename for better consistency 2016-10-27 20:51:23 -05:00
Rick Winfrey
cb28917573 Add JSON format tests to integration-test 2016-10-27 20:51:09 -05:00
Rick Winfrey
8c3d9d0d76 Add JSON output format JavaScript JSONTestCases 2016-10-27 20:46:12 -05:00
Rick Winfrey
16c6e1da59 ++diff-summary javascript test cases 2016-10-27 20:44:36 -05:00
Rick Winfrey
3cfbcd102d Update SemanticGitDiffSpec to handle ExpectedResult data type 2016-10-27 20:43:30 -05:00
Rick Winfrey
4936f282ad Simplify the structure of generator files; update GenerateTestCases 2016-10-27 20:42:46 -05:00
Rick Winfrey
df231ca64c Add ToJSON and FromJSON instances for JSONTestCase and ExpectedResult 2016-10-27 20:40:20 -05:00
Rick Winfrey
4ac2608749 Add HashMap 2016-10-27 20:23:31 -05:00
Timothy Clem
ba305a2a44 Parse module declarations 2016-10-27 12:47:27 -07:00
Timothy Clem
c21307b5f7 Parse for iterator syntax 2016-10-27 10:07:24 -07:00
Timothy Clem
539a68f06e Parse lambdas 2016-10-27 09:24:28 -07:00
Timothy Clem
f09c834e01 Parse array and percent array syntax 2016-10-27 08:30:34 -07:00
Timothy Clem
fec86e0a88 New tree-sitter and fix string delimiters 2016-10-27 08:24:43 -07:00
Timothy Clem
2a9e26f144 Support regex literals 2016-10-26 15:44:53 -07:00
Timothy Clem
644d101394 Support or, and operators 2016-10-26 15:22:59 -07:00
Rick Winfrey
682a1323fe Add ExpectedResult type
- This enables the use of Effects so that we can run multiple effects
that generate different IO values, but are typed singularly as an
ExpectedResult type
2016-10-26 17:02:04 -05:00
Rick Winfrey
a31a883b30 Auto formatting 2016-10-26 17:01:15 -05:00
Timothy Clem
5dd53c0b93 if/unless modifiers and (sort of) unless statements 2016-10-26 14:49:51 -07:00
Timothy Clem
3bbfb765a5 Parse if, with some caveats 2016-10-26 14:32:08 -07:00
Timothy Clem
013f6392ff Parse while and until statements and modifiers 2016-10-26 12:54:21 -07:00
Timothy Clem
986a3572d4 Merge remote-tracking branch 'origin/master' into ruby 2016-10-26 10:30:29 -07:00
Timothy Clem
1b6c70f4ee Parse yield and return 2016-10-26 10:27:38 -07:00
Timothy Clem
eb52ca6f90 Handle method arguments, updated tree-sitter-ruby 2016-10-26 10:14:39 -07:00
Timothy Clem
1bc5ba394a Classes, member invocation, case statements 2016-10-25 11:36:30 -07:00
Timothy Clem
649119c967 Method invocation 2016-10-24 12:23:10 -07:00
Timothy Clem
56c2dae42f Bring in LOTS more of the ruby grammar 2016-10-24 10:43:31 -07:00
Timothy Clem
994b7a613e Ruby math assignment (todo: broken) 2016-10-21 15:52:40 -07:00
Timothy Clem
b8463b6039 Ruby delimiters (sort of) 2016-10-21 14:41:04 -07:00
Timothy Clem
22c617e9e9 Ruby interpolation parsing 2016-10-21 13:55:00 -07:00
Timothy Clem
f5621a7ed0 Test parsing ruby numbers, strings, and symbols 2016-10-21 12:59:35 -07:00
Rick Winfrey
5be0a11707 Update Import tests 2016-10-20 17:27:30 -05:00
Timothy Clem
caeeb79799 Regenerate ruby test corpus to get valid shas 2016-10-20 10:36:33 -07:00
Timothy Clem
00cb51b083 Fix multiline comment followed by comment bug 2016-10-20 10:07:15 -07:00
Rick Winfrey
1a787335b8 Update tests 2016-10-19 18:10:28 -05:00
Timothy Clem
e4bb574700 Catch integer literals and abbreviate in summaries 2016-10-19 11:02:02 -07:00
Timothy Clem
fc25ff9e86 Add ruby corpus as submodule 2016-10-19 10:36:56 -07:00