1
1
mirror of https://github.com/github/semantic.git synced 2024-11-30 14:47:30 +03:00
Commit Graph

16407 Commits

Author SHA1 Message Date
Rob Rix
d7b72d71e0 🔥 IdentityDiffRenderer. 2017-09-29 15:33:43 -04:00
Rob Rix
2bd957153d Use parseAndDiffBlobPair instead of IdentityDiffRenderer. 2017-09-29 15:33:13 -04:00
Rob Rix
5621830b41 Define a function to parse and diff a pair of blobs. 2017-09-29 15:33:02 -04:00
Rob Rix
c3a6912a14 🔥 Identity diff rendering. 2017-09-29 15:26:31 -04:00
Rob Rix
da671c56fc 🔥 a redundant import. 2017-09-29 15:25:45 -04:00
Rob Rix
c0e846ec73 🔥 IdentityTermRenderer. 2017-09-29 15:20:56 -04:00
Rob Rix
0592a6bdb7 🔥 handling of IdentityTermRenderer. 2017-09-29 15:20:25 -04:00
Rob Rix
dd4cb32b90 🔥 the test of parsing in the specified language.
This is redundant to the test that it renders with the specified renderer.
2017-09-29 15:19:52 -04:00
Rob Rix
4eb3b7eacd Test against the s-expression renderer. 2017-09-29 15:14:37 -04:00
Rob Rix
f095b89492 Test that we fail when the language is Nothing. 2017-09-29 15:09:58 -04:00
Rob Rix
e452c2f567 🔥 lineByLineParser. 2017-09-29 15:02:02 -04:00
Rob Rix
0f1acfbddd 🔥 LineByLineParser. 2017-09-29 15:01:40 -04:00
Rob Rix
b4d4cf5c0a Throw an error when diffing files we don’t have a parser for. 2017-09-29 15:00:56 -04:00
Rob Rix
d6d9b84e81 Include the path for no parser exceptions. 2017-09-29 14:53:16 -04:00
Rob Rix
104cca21a1 Derive an Ord instance for Language. 2017-09-29 14:42:37 -04:00
Rob Rix
2b4465d1d0 Throw an exception when we don’t have a parser for a language. 2017-09-29 14:36:16 -04:00
joshvera
1ca518ca62 remove commented out diffRecursively 2017-09-29 11:33:46 -07:00
Rob Rix
37839d56b1 parserForLanguage never returns LineByLineParser. 2017-09-29 14:27:49 -04:00
Rob Rix
2f05a32997 parserForLanguage does not take its argument in Maybe. 2017-09-29 14:25:39 -04:00
Rob Rix
eef03d275f Define Mergeable, Ord, & Ord1 instances for all the datatypes in TypeScript. 2017-09-29 12:57:32 -04:00
Rob Rix
a063b796b9 Define Mergeable, Ord, & Ord1 instances for all the datatypes in Data.Syntax. 2017-09-29 12:50:05 -04:00
Rob Rix
096be2b08e Define an ErrorStack wrapper for call stacks. 2017-09-29 12:49:17 -04:00
Rob Rix
9d29eac636 Define Mergeable, Ord, & Ord1 instances for the datatypes in Declaration. 2017-09-29 12:47:36 -04:00
Rob Rix
07c9c6d1b7 Define Mergeable & Ord1 instances for Ellipsis & Redirect. 2017-09-29 12:36:33 -04:00
Rob Rix
3f638a0ab1 Define Ord1 & in many cases Mergeable instances for the various syntax types. 2017-09-29 12:34:54 -04:00
Rob Rix
42e45705e5 🔥 the non-generic GShow1 instances. 2017-09-29 11:51:06 -04:00
Rob Rix
06f795d3b8 🔥 the non-generic GEq1 instances. 2017-09-29 11:50:43 -04:00
Rob Rix
0097915a01 🔥 the GEq1 instance for Cofree. 2017-09-29 11:50:19 -04:00
Rob Rix
66fd99c83b Give a generic definition of Ord1. 2017-09-29 11:46:29 -04:00
Rob Rix
1ffaa0a682 Don’t export gliftEq. 2017-09-29 11:43:28 -04:00
Rob Rix
045dc992cd Don’t export the GShow1 methods. 2017-09-29 11:43:13 -04:00
Rob Rix
0624c9af74 Explicitly export genericLiftCompare & re-export Ord1. 2017-09-29 11:42:05 -04:00
Rob Rix
2ba30e3fee Give a generic derivation suitable for liftCompare. 2017-09-29 11:41:43 -04:00
Rob Rix
fe53309b05 Define a generically-derivable lifting of Ord to * -> *. 2017-09-29 11:41:24 -04:00
Rob Rix
f1e89b647d Stub in a module for a generic Ord1 implementation. 2017-09-29 11:37:18 -04:00
Josh Vera
32055efa42 Merge pull request #1325 from github/typescript-assignment
Typescript assignment
2017-09-28 17:43:05 -07:00
joshvera
54444ab54d s/Function/FunctionType 2017-09-28 17:27:57 -07:00
joshvera
3384a3689d fix tests 2017-09-28 17:17:39 -07:00
joshvera
9c9c66537a remove disambiguation 2017-09-28 17:05:44 -07:00
joshvera
c4abe09827 Rename Function to FunctionType 2017-09-28 16:48:37 -07:00
joshvera
f42f0b9f0e remove strictness annotations 2017-09-28 15:11:18 -07:00
joshvera
8ed09e3af7 newtype javascript expressions 2017-09-28 15:10:08 -07:00
joshvera
b3667104fb Merge remote-tracking branch 'origin/master' into typescript-assignment 2017-09-28 14:24:57 -07:00
Rob Rix
702e992013 Merge pull request #1365 from github/musical-chairs
Move Patch, Term, Diff, & SplitDiff into the Data hierarchy
2017-09-28 11:42:46 -04:00
Rob Rix
9c664e5460 Merge branch 'master' into musical-chairs 2017-09-28 11:36:02 -04:00
Rob Rix
d95cee9909 Merge pull request #1340 from github/substructural-diffing
Substructural diffing
2017-09-28 11:34:16 -04:00
Rob Rix
7bed8fee3e Define a test that diffTerms compares nodes against the subject position within Context nodes. 2017-09-28 11:24:51 -04:00
Rob Rix
c5cf4ee6a4 Define a mergeF operator for a single level of a term. 2017-09-28 11:24:12 -04:00
Rob Rix
7595062d05 Use the merging function in the tests. 2017-09-28 10:40:23 -04:00
Rob Rix
46b98c3ec2 Define a merging operator for Diff. 2017-09-28 10:29:02 -04:00