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

10387 Commits

Author SHA1 Message Date
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
178a942166 Merge pull request #1011 from github/gadt-algorithm
AlgorithmF refactoring
2017-02-21 15:50:20 -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
Rob Rix
8ac9583171 Merge branch 'master' into bump-languages 2017-02-21 11:38:00 -05:00
Rob Rix
71ec6575ca Merge pull request #1012 from github/bump-tree-sitter-error-recovery-fix
Bump tree-sitter (haskell-tree-sitter) to get latest error recovery fixes
2017-02-21 11:37:50 -05:00
Timothy Clem
2f2d72a462 Bump Ruby and JavaScript parsers 2017-02-21 08:24:43 -08:00
Timothy Clem
a8a9543d4c ++haskell-tree-sitter 2017-02-21 08:21:03 -08:00
Rob Rix
9b3d8a4949 Replace the old iterAp with the one taking a continuation. 2017-02-21 10:53:20 -05:00
Rob Rix
b5d6b4dbce 📝 iterAp'. 2017-02-21 10:47:06 -05:00
Rob Rix
687c7c5ea1 Rename the Algorithm constructors to reflect the algorithms performed. 2017-02-21 10:46:19 -05:00
Rob Rix
ddca615e65 Define an iterator which does not require a Functor instance. 2017-02-21 10:44:48 -05:00
Rob Rix
e682c4164c Enable pattern-matches on AlgorithmF again. 2017-02-21 10:41:46 -05:00
Rob Rix
6f30690b71 Document time complexity. 2017-02-21 10:38:10 -05:00
Rob Rix
984be76b0f Better docs for the AlgorithmF constructors. 2017-02-21 10:29:02 -05:00
Rob Rix
303ba57d27 Tidy up the AlgorithmF docs. 2017-02-21 10:26:27 -05:00
Rob Rix
f79adf7493 Express AlgorithmF as a GADT. 2017-02-21 10:25:25 -05:00
Rob Rix
5c1c055ba2 Merge pull request #1010 from github/ruby-constant-changes
++tree-sitter-ruby for new constant parsing
2017-02-21 09:12:13 -05:00
Timothy Clem
9910f8dd16 Add friendly category name now that we have singleton methods 2017-02-17 14:57:29 -08:00
Timothy Clem
854eeee9fb ++tree-sitter-ruby for new constant parsing 2017-02-17 14:16:29 -08:00
Josh Vera
a1631341d3 Merge pull request #1009 from github/ruby-singleton-methods
Updates to how we parse Ruby singleton methods
2017-02-17 17:01:51 -05:00
Timothy Clem
6e718a7804 No opening linebreak if first node is a patch 2017-02-17 13:54:20 -08:00
Josh Vera
696e4f6a8c Merge branch 'master' into ruby-singleton-methods 2017-02-17 15:02:32 -05:00
Josh Vera
1b1726a538 Merge pull request #1006 from github/it-slices,-it-dices
O(1) slicing via ByteString
2017-02-17 15:00:20 -05:00
Josh Vera
d0af7a2f40 Merge branch 'master' into it-slices,-it-dices 2017-02-17 14:52:42 -05:00
Timothy Clem
e6d771d3a6 Merge branch 'master' into ruby-singleton-methods 2017-02-17 11:52:09 -08:00
Timothy Clem
48952bef94 Merge pull request #1008 from github/toc-summary-prop-tests
TOC summary property tests
2017-02-17 11:51:52 -08:00
Timothy Clem
91c650ee9c Minor fix for sexpression padding on the Pure side 2017-02-17 11:36:50 -08:00
Timothy Clem
a10bc515c0 ++tree-sitter-ruby and parse singleton methods to fix ambiguity 2017-02-17 11:34:47 -08:00
Timothy Clem
1bd36fff7c Failing test to demonstrate the Ruby method shape ambiguity problem 2017-02-17 10:49:26 -08:00
Timothy Clem
7caca45fba Use - in filenames 2017-02-17 08:46:56 -08:00
Timothy Clem
8a8c3257f5 Make sure single ruby methods are included in this test 2017-02-17 08:46:33 -08:00
Timothy Clem
8b6ebb6db1 Test out go method with receiver summaries 2017-02-17 08:45:51 -08:00
Timothy Clem
4e51665e50 Add .hspec for depths default, make sure hspec version supports 2017-02-17 08:27:51 -08:00
Timothy Clem
8cd0b52a9f Make it clear that these sourceblobs are for the blankdiff 2017-02-16 15:47:18 -08:00
Timothy Clem
5108b53dfb Prop test for changes that don't toc summarize 2017-02-16 15:41:13 -08:00
Timothy Clem
d39e81a93b Test for changes inside of methods/functions 2017-02-16 15:22:46 -08:00
Timothy Clem
462d44c174 Fill out prop test for the different patch types 2017-02-16 14:20:22 -08:00
Timothy Clem
0bc9633fff Parameterize terms instead of diffs 2017-02-16 14:19:35 -08:00
Rob Rix
738287fb67 Bump haskell-tree-sitter. 2017-02-16 14:43:29 -05:00
Rob Rix
75d3fc5079 🔥 stale hiding of fromList. 2017-02-16 14:28:32 -05:00
Rob Rix
b17af9d9c8 🔥 Source.fromList. 2017-02-16 13:11:04 -05:00