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

10425 Commits

Author SHA1 Message Date
Timothy Clem
6e9a2d24d9 Migrate javascript test cases over 2017-02-23 09:55:30 -08:00
Timothy Clem
b80667f5b4 Remove profile as submodule and just include the js directly 2017-02-23 09:32:24 -08:00
Timothy Clem
02c2a7aac9 Remove corpus specs and fixtures entirely 2017-02-23 09:19:30 -08:00
Timothy Clem
4099ec1a81 Merge pull request #1018 from github/sexpression-text-based-testing
S-Expression based testing
2017-02-23 08:59:14 -08:00
Timothy Clem
0cd347f2cd mapM -> traverse 2017-02-23 08:29:55 -08:00
Timothy Clem
74a97766ef Map ruby rest_assignment to SplatParameter category 2017-02-22 20:25:46 -08:00
Timothy Clem
7e4c97adfa map ruby pattern to Args category 2017-02-22 20:22:59 -08:00
Timothy Clem
92f07f660f Map ruby left_assignment_list to Args category 2017-02-22 20:17:33 -08:00
Timothy Clem
6d8c7b70f7 Map up ruby lambdas to AnonymousFunction category 2017-02-22 20:12:08 -08:00
Timothy Clem
97029a6c47 Better spec names 2017-02-22 20:06:05 -08:00
Timothy Clem
0cf38c583c Assert to summary json output 2017-02-22 20:05:48 -08:00
Timothy Clem
a0ac9832a8 Move toc spec fixtures 2017-02-22 17:22:50 -08:00
Timothy Clem
38756dba85 sequence fmap -> mapM 2017-02-22 15:23:37 -08:00
Timothy Clem
8c490555ff RIP Cost 2017-02-22 15:15:32 -08:00
Timothy Clem
f9c26b3ae4 Merge remote-tracking branch 'origin/master' into sexpression-text-based-testing 2017-02-22 15:08:14 -08:00
Josh Vera
8018e61c1b Merge pull request #1017 from github/bump-tree-sitter-js
Bump tree sitter js for typescript changes
2017-02-22 17:58:02 -05:00
joshvera
ae56476308 Remove var_assignment and VarAssignment case 2017-02-22 17:49:25 -05:00
Timothy Clem
2da352277b Make sure fixtures have ending newline 2017-02-22 14:41:30 -08:00
Timothy Clem
ea453bf57e Transition ruby test fixtures 2017-02-22 14:36:22 -08:00
Timothy Clem
ef17e87366 Only run examples that exist 2017-02-22 14:07:47 -08:00
joshvera
42b25de833 bump javascript tests 2017-02-22 16:58:12 -05:00
joshvera
00a37acb53 Merge remote-tracking branch 'origin/master' into bump-tree-sitter-js 2017-02-22 16:48:26 -05:00
Josh Vera
086f55c6dd Merge pull request #1016 from github/🔥-cost
🔥 cost
2017-02-22 16:45:57 -05:00
joshvera
a452e1acd5 s/var_declaration/variable_declaration 2017-02-22 16:42:36 -05:00
joshvera
49e81c5b46 ++tree-sitter-javascript for typescript-extension changes 2017-02-22 16:21:47 -05:00
Timothy Clem
8e29488556 Test B->A diff as well, move to fixtures dir 2017-02-22 11:31:56 -08:00
Timothy Clem
a3331c08e7 Assert parsing 2017-02-22 08:34:31 -08:00
Timothy Clem
b841420101 Read in both parse and diff fixtures 2017-02-22 08:34:31 -08:00
Timothy Clem
80ee905afc Refactor to always expect filepaths 2017-02-22 08:34:31 -08:00
Timothy Clem
52e4dd435a Test expression output (based on corpus spec strategy) 2017-02-22 08:34:31 -08:00
Timothy Clem
6165a6dd02 Allow printing only tree of sexpression output 2017-02-22 08:34:31 -08:00
Rob Rix
dc1dd0e781 Merge branch 'master' into 🔥-cost 2017-02-21 15:51:11 -05:00
Rob Rix
178a942166 Merge pull request #1011 from github/gadt-algorithm
AlgorithmF refactoring
2017-02-21 15:50:20 -05:00
Rob Rix
fe326bcf03 🔥 the comparability parameter to diffTerms. 2017-02-21 15:23:30 -05:00
Rob Rix
c4f37454d6 🔥 the construct parameter to diffTerms. 2017-02-21 15:17:35 -05:00
Rob Rix
04b929822e 🔥 Cost. 2017-02-21 14:58:39 -05:00
Rob Rix
d288ec1d17 🔥 cost & setCost. 2017-02-21 14:56:34 -05:00
Rob Rix
a7d73e9bf1 🔥 termCostDecorator. 2017-02-21 14:54:54 -05:00
Rob Rix
7be2232bb6 🔥 parserWithCost. 2017-02-21 14:54:23 -05:00
Rob Rix
6526076056 Don’t decorate terms with costs. 2017-02-21 14:53:42 -05:00
Rob Rix
d90957c4ba parserForFilepath does not decorate with Cost. 2017-02-21 14:52:17 -05:00
Rob Rix
7f2b274668 Diffing does not require the presence of a Cost field. 2017-02-21 14:49:22 -05:00
Rob Rix
67b162895c 🔥 costs from Split output. 2017-02-21 14:48:03 -05:00
Rob Rix
cc776a2f6d 🔥 SES algorithms. 2017-02-21 14:35:22 -05:00
Rob Rix
01c47fa0c1 🔥 the computation of costs. 2017-02-21 14:34:24 -05:00
Rob Rix
691f7cfebf Correct the docs for the smart constructors. 2017-02-21 14:03:57 -05:00
Rob Rix
330873659c Merge branch 'master' into gadt-algorithm 2017-02-21 13:46:01 -05:00
Rob Rix
dfc992ad0e Merge pull request #1014 from github/update-tree-sitter-scripts
Small script to make updating tree-sitter a bit easier
2017-02-21 13:45:40 -05:00
Josh Vera
229712cc73 Merge branch 'master' into gadt-algorithm 2017-02-21 12:20:35 -05:00
Josh Vera
a8e921fe2d Merge pull request #1013 from github/bump-languages
Bump Ruby and JavaScript parsers
2017-02-21 12:19:34 -05:00