Rob Rix
e74b4e9e15
Approximate the edit distance similarly to how we did before.
2017-02-23 16:27:24 -05:00
Rob Rix
7b7ad1bce1
Merge branch 'interpreter-decomposition' of https://github.com/github/semantic-diff into interpreter-decomposition
2017-02-23 16:13:46 -05:00
Rob Rix
18cd862dc3
Parameterize rws by the approximate edit distance.
2017-02-23 16:13:42 -05:00
Timothy Clem
378d4b3702
Merge branch 'master' into interpreter-decomposition
2017-02-23 13:03:06 -08:00
Timothy Clem
c6d0056a9e
Merge branch 'master' into transition-go-tests
2017-02-23 13:00:13 -08:00
Timothy Clem
2e371cedab
Merge branch 'master' into transition-javascript-tests
2017-02-23 13:00:09 -08:00
Timothy Clem
a9f2ced8d7
Merge pull request #1021 from github/remove-profile-as-submodule
...
Remove profile as submodule
2017-02-23 12:59:11 -08:00
Rob Rix
dd66977731
Merge branch 'master' into remove-profile-as-submodule
2017-02-23 15:51:31 -05:00
Rob Rix
b9b8f2d04b
Merge pull request #1020 from github/remove-corpus-specs
...
🔥 corpus specs and fixtures entirely
2017-02-23 15:50:57 -05:00
Josh Vera
1047289697
Merge branch 'master' into transition-javascript-tests
2017-02-23 15:16:34 -05:00
Josh Vera
9108a86e69
Merge branch 'master' into transition-go-tests
2017-02-23 15:16:30 -05:00
Josh Vera
b803bf0f6a
Merge branch 'master' into remove-profile-as-submodule
2017-02-23 15:16:22 -05:00
Josh Vera
2e6192386d
Merge branch 'master' into remove-corpus-specs
2017-02-23 15:16:12 -05:00
Rob Rix
98e9da9249
SES produces edit scripts in These.
2017-02-23 14:35:40 -05:00
Rob Rix
8237a6aafd
RWS uses compare instead of constructing insertions/deletions itself.
2017-02-23 14:19:29 -05:00
Rob Rix
ef2715f4f0
RWS’s comparison function takes These.
2017-02-23 14:17:52 -05:00
Rob Rix
22236ebd7e
Give RWS separate functions for comparisons and determining whether a comparison should be made.
2017-02-23 14:13:13 -05:00
Rob Rix
36ae3053b4
Use the diffThese combinator to recur in linear decomposition.
2017-02-23 14:12:39 -05:00
Rob Rix
c6461ce94c
Extract the comparability test.
2017-02-23 14:05:25 -05:00
Rob Rix
70bb820b03
Extract a function to measure the edit distance between comparable terms or the maximum Int otherwise.
2017-02-23 13:58:32 -05:00
Timothy Clem
804b998c93
Migrate go tests to new format
2017-02-23 10:06:49 -08:00
Timothy Clem
2ce8ef408c
Remove JSON formatting integration tests
2017-02-23 09:56:46 -08:00
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
Rob Rix
0485a9bfc7
📝 diffThese.
2017-02-23 12:30:26 -05:00
Rob Rix
27ff7ee9ca
Define a smart constructor to diff a These of terms.
2017-02-23 12:25:45 -05:00
Rob Rix
0cfab0205f
Define a constructor for top-level, unconstrained diffs.
2017-02-23 12:24:31 -05:00
Timothy Clem
02c2a7aac9
Remove corpus specs and fixtures entirely
2017-02-23 09:19:30 -08:00
Rob Rix
5a63ceb864
Linear algorithms recur linearly.
2017-02-23 12:12:32 -05:00
Rob Rix
6356967923
📝 decompose’s signature.
2017-02-23 12:11:42 -05:00
Rob Rix
06f6192a43
Reformat decompose’s type signature.
2017-02-23 12:10:35 -05:00
Rob Rix
fa42615dc7
Merge remote-tracking branch 'origin/master' into interpreter-decomposition
2017-02-23 12:00:57 -05:00
Rob Rix
6ce9f432b7
Merge remote-tracking branch 'origin/master' into interpreter-decomposition
2017-02-23 12:00:22 -05: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
Rob Rix
e94020d68c
Stub in decomposition of RWS.
2017-02-23 11:04:59 -05:00
Rob Rix
6dcfff4716
Loosen the Eq constraint in RWS to an Eq1 constraint.
2017-02-23 11:03:25 -05:00
Rob Rix
361710dd65
Export gliftEq for use with types like Cofree.
2017-02-23 11:01:42 -05:00
Rob Rix
80c51abb31
Define a GEq1 instance for Cofree.
...
This is necessary because the `Eq1` instance which `free` provides is for the `Eq1` class provided by `prelude-extras` and not the one found in `Data.Functor.Classes` in `base`.
2017-02-23 10:57:15 -05: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