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

9686 Commits

Author SHA1 Message Date
joshvera
95037e1b75 Add const declarations 2016-10-31 21:09:57 -04:00
joshvera
917732c48b add const declarations 2016-10-31 19:23:25 -04:00
joshvera
3b3c800193 parse function calls 2016-10-31 18:22:10 -04:00
joshvera
19f42de32c ++tests 2016-10-31 17:29:40 -04:00
joshvera
d4617b8263 Pattern match on identifiers in an identifier_list 2016-10-31 17:28:38 -04:00
joshvera
16e492e705 ++go 2016-10-31 17:24:00 -04:00
joshvera
8403133ad0 Map var declarations and their var specs 2016-10-31 17:23:44 -04:00
joshvera
14271201ab update assignment.json 2016-10-31 17:14:18 -04:00
joshvera
52420da2dd remove go-test repo 2016-10-31 17:13:57 -04:00
Timothy Clem
5f20127044 Stub out expected todo for ruby control statements 2016-10-31 13:56:19 -07:00
Timothy Clem
ada47c7208 Error if for statements don't match expected shape 2016-10-31 13:47:51 -07:00
Timothy Clem
4f3e5fa069 Produce error nodes if productions don't match expected shape 2016-10-31 13:29:58 -07:00
Timothy Clem
37ac36e22c Regenerate with s/_/- and todos 2016-10-31 13:21:58 -07:00
Timothy Clem
271831b70d Exhaustively match to error 2016-10-31 13:15:19 -07:00
Timothy Clem
2c96933c29 Generate to fix multiple-assignment 2016-10-31 13:14:58 -07:00
Timothy Clem
a950a07b40 While and Until just have a list of f 2016-10-31 13:14:32 -07:00
Rick Winfrey
e87e54302f Add documentation for Eff related functions 2016-10-31 15:03:12 -05:00
joshvera
413e1980c9 Parse imports and function declarations 2016-10-31 15:50:13 -04:00
joshvera
5ca3ad4390 Diff Modules by similarity 2016-10-31 15:49:39 -04:00
Timothy Clem
ad422ffc11 Produce errors if we can't match while, until, for, or functions 2016-10-31 12:14:52 -07:00
Timothy Clem
c6f734db67 Remove experimental test fixture format 2016-10-31 11:58:10 -07:00
Timothy Clem
a4362d854e And a bump for tree-sitter too 2016-10-31 10:16:37 -07:00
Timothy Clem
9ac247dbd4 Element reference parsing, control statement tests 2016-10-31 10:15:44 -07:00
Rick Winfrey
416536d882 Add missing parens 2016-10-28 08:09:37 -05:00
Rick Winfrey
aa724c4159 Preserve original type class constraint order 2016-10-28 07:56:26 -05:00
Rick Winfrey
282c7abd4e Remove unnecessary comment 2016-10-28 07:44:13 -05:00
Rick Winfrey
5b7fc1e256 Remove GenerateAll as we don't support that functionality yet 2016-10-28 07:43:57 -05: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
d86b822ed0 Play with potential fixture format 2016-10-27 07:56:47 -07:00
Timothy Clem
2a9e26f144 Support regex literals 2016-10-26 15:44:53 -07:00
Rick Winfrey
c11b40cd60 We never need to bind when running an effect
- Also remove `error` by returning an EmptyResult
2016-10-26 17:31:10 -05:00
Timothy Clem
644d101394 Support or, and operators 2016-10-26 15:22:59 -07:00
Rick Winfrey
3a073a2849 Add NamespaceImport category to Split Renderer 2016-10-26 17:13:29 -05:00
Rick Winfrey
93f5464ad2 Add NamespaceImport category to DiffSummary 2016-10-26 17:13:14 -05: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
Rick Winfrey
5ba5c50549 Add GADTs and DataKinds extensions 2016-10-26 16:59:27 -05:00