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

4824 Commits

Author SHA1 Message Date
Rob Rix
9b52fcc5c5 Extract a function for constructing a Series for the elements of a Term. 2016-03-01 14:30:33 -05:00
Rob Rix
47612988a1 Encode terms directly. 2016-03-01 14:30:33 -05:00
Rob Rix
c2054358a9 Encode the JSON output directly. 2016-03-01 14:30:33 -05:00
Rob Rix
bdeec4b077 Merge branch 'master' into forward-compatible-rendering 2016-03-01 13:30:26 -05:00
Rob Rix
e894d63a6c Merge branch 'master' into forward-compatible-rendering
# Conflicts:
#	src/DiffOutput.hs
#	src/Renderer/Split.hs
#	test/CorpusSpec.hs
2016-03-01 12:34:40 -05:00
Josh Vera
b46fb6428a Merge pull request #479 from github/clean-up-and-set-up
Clean up and set up
2016-03-01 12:05:04 -05:00
Rob Rix
49effc3509 Merge branch 'master' into clean-up-and-set-up 2016-03-01 11:42:13 -05:00
Josh Vera
70625450a4 Merge pull request #477 from github/why-not-both
Why not Both?
2016-03-01 11:41:20 -05:00
Rob Rix
7c179d55c4 Revert "We don’t need to use g++ on Linux for the tests. I think."
This reverts commit 6ac237bb0b4e301db0b49bd35d894a7923bbf9e1.
2016-03-01 08:23:42 -05:00
Rob Rix
05b6e3a5f7 We don’t need to use g++ on Linux for the tests. I think. 2016-03-01 08:20:24 -05:00
Rob Rix
435dde0888 Bump the fixtures again. 2016-02-29 22:05:25 -05:00
Rob Rix
25643aac9b Encode Rows as two-element arrays. 2016-02-29 22:02:54 -05:00
Rob Rix
92732af3d1 Tidier Range encoding. 2016-02-29 22:02:44 -05:00
Rob Rix
8e5bb19ec2 More fixture bumping. 2016-02-29 21:53:38 -05:00
Rob Rix
71c908c7b7 Place the rows into a top-level object. 2016-02-29 21:53:26 -05:00
Rob Rix
897e8255b4 Revert "Generic instances everywhere, why not."
This reverts commit 82105fde6f9ccd06042d0f7ada88b2d0ee072069.
2016-02-29 21:48:58 -05:00
Rob Rix
32f745ed3a Remove the instance for Annotated. 2016-02-29 21:48:49 -05:00
Rob Rix
9260faf3af Update the fixtures. 2016-02-29 21:46:30 -05:00
Rob Rix
2ec4d3efb5 Remove the instance for Line. 2016-02-29 21:44:49 -05:00
Rob Rix
1515240e8e Flatter encoding of Row. 2016-02-29 21:44:31 -05:00
Rob Rix
12dd698f61 Don’t encode the overall range. 2016-02-29 21:44:27 -05:00
Rob Rix
7c8041ad8e Remove the instance for Info. 2016-02-29 21:41:47 -05:00
Rob Rix
b6eefc23ae Shallower encoding of SplitDiff. 2016-02-29 21:41:16 -05:00
Rob Rix
2edada29c7 Shallower encoding of Term. 2016-02-29 21:38:46 -05:00
Rob Rix
4d9fc06a53 Encode Range manually. 2016-02-29 21:36:17 -05:00
Rob Rix
621f727a79 Encode SplitPatch manually. 2016-02-29 21:35:03 -05:00
Rob Rix
c836faa1cf Encode Syntax manually. 2016-02-29 21:33:03 -05:00
Rob Rix
65ee064cda Bump the fixtures. 2016-02-29 21:22:17 -05:00
Rob Rix
e01b0c7df9 Customize the Category instance. 2016-02-29 21:21:24 -05:00
Rob Rix
d9006714d4 Disable orphan instance warnings in this module. 2016-02-29 20:56:53 -05:00
Rob Rix
e3ac671f1b Bump the fixtures. 2016-02-29 20:53:36 -05:00
Rob Rix
d92bab31fd Generate the JSON with aeson instead. 2016-02-29 20:52:30 -05:00
Rob Rix
d02f6484db Generic instances everywhere, why not. 2016-02-29 20:38:41 -05:00
Rob Rix
ae149c94ff Use runBothWith to tidy up a few computations. 2016-02-29 19:43:57 -05:00
Rob Rix
51ad3ba049 Add runBothWith. 2016-02-29 19:41:05 -05:00
Rob Rix
7548e148dc Rename runLeft/runRight to fst/snd. 2016-02-29 19:39:04 -05:00
Rob Rix
ace7616899 The Foldable instance for OrderedMap takes care of this for us. 2016-02-29 19:38:22 -05:00
Rob Rix
fe6c42da4c Add newline at eof & no newline at eof test cases. 2016-02-29 18:13:23 -05:00
Rob Rix
39b86b2886 Add a test case for dictionary.js in json format. 2016-02-29 18:12:08 -05:00
Rob Rix
7b3902be9e Encode rather than showing. 2016-02-29 18:08:33 -05:00
Rob Rix
adf7b24bc7 🔥 Text.JSON, just use the json package. 2016-02-29 18:06:06 -05:00
Rob Rix
9fe9864fbf Escape some things. 2016-02-29 18:00:34 -05:00
Rob Rix
4b543f45f1 Flesh out JSON rendering for SplitDiff. 2016-02-29 17:44:57 -05:00
Rob Rix
258f7e6eed SplitPatch is a Functor. 2016-02-29 17:44:44 -05:00
Rob Rix
96649aa0e4 Implement showJSON over Keyed nodes. 2016-02-29 17:41:29 -05:00
Rob Rix
5539d11d9a Write a custom Show instance for JSValue. 2016-02-29 17:37:33 -05:00
Rob Rix
e39d728af0 Write a custom Show instance for JSObject. 2016-02-29 17:33:19 -05:00
Rob Rix
466d7d3611 Write a custom Show instance for JSString. 2016-02-29 17:30:39 -05:00
Rob Rix
47c71a0acf Wrap each Row. 2016-02-29 17:28:23 -05:00
Rob Rix
0657e55272 Flesh out the JSON instance for SplitPatch. 2016-02-29 17:27:37 -05:00