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

698 Commits

Author SHA1 Message Date
Rob Rix
7af5a4876a Move OrderedMap into Data. 2016-01-06 11:56:58 -05:00
joshvera
8b4904c209 Add gitlib to semantic diff exe 2016-01-06 11:34:04 -05:00
Rob Rix
7dedd39cab Manually include all of the other specs. 2016-01-05 11:27:14 -05:00
Rob Rix
34ecaf16af It’s a brand new year 🎉 2016-01-05 11:26:58 -05:00
joshvera
c61b16d993 move these 2016-01-04 16:04:04 -05:00
joshvera
2438de3040 Remove conduit dependency 2016-01-04 15:50:31 -05:00
joshvera
44e9f50434 remove uses of lens 2016-01-04 14:48:55 -05:00
joshvera
15724218b8 Merge remote-tracking branch 'origin/master' into use-conduit 2016-01-04 14:26:18 -05:00
Josh Vera
2bffbe9537 Merge pull request #353 from github/patch
Patch output
2016-01-04 12:13:09 -05:00
Rob Rix
d79c6084b1 Revert "Remove the deriving extensions from the cabal file."
This reverts commit e9f5bd112d55aff2523d8f1b1436bd1e4c70f01a.
2016-01-04 12:04:12 -05:00
Rob Rix
5a10bbb374 Revert "Remove OverloadedStrings from the default extensions."
This reverts commit 6904929f082dd8b2c048884a9f62415ee37c3be5.
2016-01-04 12:03:05 -05:00
Rob Rix
dc9113aa6d Remove OverloadedStrings from the default extensions. 2016-01-04 09:28:16 -05:00
Rob Rix
b227546e29 Remove FlexibleInstances from the default extensions. 2016-01-04 09:25:44 -05:00
Rob Rix
089752f101 Remove the deriving extensions from the cabal file. 2016-01-04 09:22:45 -05:00
Rob Rix
09459a3421 Merge branch 'master' into patch 2015-12-30 18:55:42 -05:00
joshvera
24015141b7 Add conduit 2015-12-30 18:00:57 -05:00
joshvera
8852f81023 Remove unused modules 2015-12-30 17:53:35 -05:00
joshvera
e7da8b64c5 Add text-icu package 2015-12-29 17:34:35 -05:00
joshvera
414f275639 build text-icu 2015-12-29 15:18:22 -05:00
joshvera
a3051c531d Merge remote-tracking branch 'origin/master' into use-text 2015-12-29 15:13:57 -05:00
Rob Rix
0866ef52bd Merge branch 'diff-performance' into patch 2015-12-24 16:33:24 -05:00
Rob Rix
cc9dee5704 Stub in a Source module. 2015-12-23 22:38:02 -05:00
Rob Rix
61eccbcd80 Link against vector instead. 2015-12-23 22:35:55 -05:00
Rob Rix
c23833485e Depend on array. 2015-12-23 20:33:24 -05:00
Rob Rix
46635ccb60 Merge branch 'profiling-improvements' into split-performance
# Conflicts:
#	src/Range.hs
2015-12-23 19:50:27 -05:00
Rob Rix
1d5114318d Enable profiling on the library as well. 2015-12-23 19:42:55 -05:00
Rob Rix
0136305f34 Merge branch 'ffi-ffs' into patch
# Conflicts:
#	src/Range.hs
2015-12-23 18:06:38 -05:00
Rob Rix
21ac483558 DeriveGeneric. 2015-12-23 09:58:46 -05:00
Rob Rix
6edd7453e4 Attempt to depend on c-storable-deriving again. 2015-12-23 09:57:15 -05:00
Rob Rix
6049a99ed7 Merge branch 'split-refactoring' into patch 2015-12-22 19:01:50 -05:00
Rob Rix
b256d46f83 Stub in a Row module. 2015-12-22 17:24:08 -05:00
Rob Rix
8f469a07c4 Stub in a Line module. 2015-12-22 17:20:08 -05:00
Rob Rix
6e20ad6a9c Revert "Enable RankNTypes."
This reverts commit 8fce071dc9a45ff1ecb9d683980fc584a358eece.
2015-12-22 15:17:55 -05:00
Rob Rix
c41a2cfccc Enable RankNTypes. 2015-12-22 14:53:29 -05:00
Rob Rix
38a317156b Move arbitrary term generation into its own module. 2015-12-22 12:53:31 -05:00
joshvera
0121a44432 Don't depend on text-icu 2015-12-18 14:57:30 -05:00
joshvera
cfc4a97f9d Merge remote-tracking branch 'origin/master' into use-bytestrings 2015-12-18 14:43:25 -05:00
Rob Rix
70c5179a6b Merge branch 'master' into patch 2015-12-17 17:34:45 -05:00
Rob Rix
f41c154b76 Stub in a PatchOutput module. 2015-12-17 17:22:09 -05:00
Rob Rix
71d55d177e Revert "Figure out our extra lib dirs correctly."
This reverts commit fe4dcf2ae2f5f4118e3df6ae28d63b304482683c.
2015-12-17 16:34:28 -05:00
Rob Rix
f37c51b8b8 Depend on tree-sitter-parsers. 2015-12-17 14:49:28 -05:00
Rob Rix
5e1bf1377b Don’t try to build the bridge. 2015-12-17 14:43:09 -05:00
Rob Rix
86fc332cff Merge branch 'master' into self-contained-binary 2015-12-17 13:43:00 -05:00
Rob Rix
ae14851129 Revert "Declare the interpreter spec in the cabal file."
This reverts commit 55f0f2eeef07a7b9719de94bdb0d191c31e205e1.
2015-12-17 13:42:52 -05:00
Rob Rix
f4248aaa64 Figure out our extra lib dirs correctly. 2015-12-17 13:37:24 -05:00
joshvera
802ed919f5 Don't need OrderedMapSpec in other-modules 2015-12-17 13:10:41 -05:00
Rob Rix
2d0e030c23 Compile the parsers into the library. 2015-12-17 13:10:14 -05:00
Rob Rix
09b9defa2d Build the bridge directly. 2015-12-17 13:09:08 -05:00
Rob Rix
d05e622768 Look for headers in tree-sitter’s include dir. 2015-12-17 13:09:05 -05:00
Rob Rix
e3abd5feea Don’t link the executables against libbridge. 2015-12-17 12:57:31 -05:00
Rob Rix
12e964884d Declare the interpreter spec in the cabal file. 2015-12-17 12:54:34 -05:00
Rob Rix
96f189719a Move TreeSitter into the library. 2015-12-17 12:54:27 -05:00
Rob Rix
e47d3d4d3c Move the Parser type back into the library. 2015-12-16 16:24:23 -05:00
Rob Rix
1504a985de Rename Parser to Parsers. 2015-12-16 16:21:49 -05:00
Rob Rix
c034942a4c Don’t depend on trifecta. 2015-12-16 15:36:11 -05:00
Rob Rix
6270b4aa7e Remove the Haskell module. 2015-12-16 15:36:08 -05:00
Rob Rix
51098e2023 Pretend like we know what we’re doing & parse with Trifecta instead. 2015-12-16 11:48:09 -05:00
Rob Rix
6ea78f4318 Merge branch 'output-directory' into haskell-parser 2015-12-16 01:58:18 -05:00
Rob Rix
c451506ecd Add directory to the dependencies. 2015-12-16 01:18:43 -05:00
joshvera
5fe694d2b8 nope gotta normalize sources in main 2015-12-15 17:42:37 -05:00
joshvera
566205254c normalize sources 2015-12-15 16:39:32 -05:00
joshvera
e80bc4590d add text-icu 2015-12-15 16:34:47 -05:00
joshvera
9d10f8ba4f Add quickcheck-text to generate arbitrary utf-8 2015-12-15 15:03:10 -05:00
Rob Rix
39593d0ee3 The profile component depends on parsec. 2015-12-15 14:55:28 -05:00
joshvera
30132a94de pin QuickCheck and hspec 2015-12-15 14:53:03 -05:00
Rob Rix
96d604092e Add the Haskell module to the profile component. 2015-12-15 14:36:42 -05:00
Rob Rix
ad68d7beab Move Parser into the executable(s). 2015-12-15 14:35:11 -05:00
Rob Rix
706da9e13e Stub in a Haskell parser module. 2015-12-15 14:22:06 -05:00
Rob Rix
c9ad5f3941 Depend on parsec. 2015-12-15 14:22:00 -05:00
joshvera
6eb8172fe4 output split diffs as Text 2015-12-15 13:29:58 -05:00
joshvera
6ea23b813b add TextShow so we don't have to text . show 2015-12-15 12:11:05 -05:00
joshvera
85c7b8f92d Add text package to cabal 2015-12-15 11:47:52 -05:00
Rob Rix
205a885305 Stub in an OrderedMapSpec module. 2015-12-14 17:42:57 -05:00
Rob Rix
5ecb5a6d1d Merge branch 'master' into ordered-map 2015-12-14 17:13:58 -05:00
Rob Rix
187cecefdb Stub in an OrderedMap type. 2015-12-11 17:07:34 -05:00
Rob Rix
3077bdaebd Remove FlexibleInstances. 2015-12-11 16:07:30 -05:00
Rob Rix
77870a069b Enable FlexibleInstances. 2015-12-11 16:01:09 -05:00
Rob Rix
07060e8137 DeriveGeneric. 2015-12-11 13:37:33 -05:00
Rob Rix
7e185f8f7a Merge branch 'master' into quickcheck 2015-12-11 13:35:48 -05:00
joshvera
e92444d87d Remove profiteur from semantic-diff-profile build-depends 2015-12-11 00:16:05 -05:00
Rob Rix
ec655117d2 Link the tests against QuickCheck. 2015-12-10 23:38:01 -05:00
joshvera
c8b5cad4e4 Build a separate target when profiling 2015-12-10 23:34:53 -05:00
Rob Rix
d7f415da04 Move all of the tree-sitter stuff into its own module. 2015-12-09 09:58:15 -05:00
Rob Rix
f8d43dcfad Add a Parser module/type. 2015-12-09 09:49:24 -05:00
Rob Rix
7186aa7cb6 Depend on blaze-html. 2015-12-07 12:21:06 -05:00
Rob Rix
207bf58c32 Look for libbridge in the project dir. 2015-12-07 11:17:35 -05:00
Rob Rix
1f73e92a79 The tests depend on free. 2015-12-04 10:17:26 -05:00
Rob Rix
1d54750bd4 The tests depend on containers. 2015-12-04 09:16:01 -05:00
Rob Rix
9e554a04cc Alphabetize. 2015-12-04 09:15:54 -05:00
joshvera
79f2f94c2c Add ts_language_js as a language 2015-12-03 15:21:34 -05:00
joshvera
c20ea6ee78 Switch parsers on mediaType 2015-12-03 15:10:49 -05:00
Rob Rix
950f40693f The tests depend on hspec. 2015-12-03 11:38:43 -05:00
Rob Rix
815494b619 Copy the necessary dependencies into the library. 2015-12-03 11:38:37 -05:00
Rob Rix
bbcb3be6fc Move Split & Unified into the library. 2015-12-03 11:37:18 -05:00
Rob Rix
ba2b58f66b Turn off -Werror.
This apparently controls the severity of assertions from hlint as well,
which was making it difficult to understand what was actually a problem
in the source.
2015-12-03 10:15:00 -05:00
joshvera
2a063d3277 Move Range to a module 2015-12-02 21:40:34 -05:00
Rob Rix
5bda74b2ea Disable the warning on name shadowing.
Seriously.
2015-12-02 09:30:25 -05:00
Rob Rix
a2e1038190 Bring in optparse-applicative. 2015-12-01 11:00:58 -05:00
Rob Rix
d5f53facd2 Stub in a Split module. 2015-12-01 10:56:27 -05:00
Rob Rix
71dccbdf6e Bring in the state monad. 2015-11-30 16:00:34 -05:00
Rob Rix
3f7c155e09 Depend on bytestring. 2015-11-27 12:41:30 -05:00
Rob Rix
0cd8ba9593 Enable wall/werror. 2015-11-27 12:02:24 -05:00
Rob Rix
bb9bf71d17 Merge branch 'master' into sunshine-lollipops-and-rainbows-everywhere
# Conflicts:
#	semantic-diff.cabal
2015-11-27 11:36:18 -05:00
Rob Rix
7a2ed62632 Don’t include Console. 2015-11-27 11:33:43 -05:00
Rob Rix
1f0c240b0c We don’t need to depend on these after all. 2015-11-27 11:30:31 -05:00
Rob Rix
1b0aa372bf Depend on bytestring. 2015-11-27 10:53:25 -05:00
Rob Rix
4e26e0dbf4 Depend on utf8-string. 2015-11-27 10:45:08 -05:00
Rob Rix
7b02760a8a Depend on rainbow. 2015-11-27 10:27:48 -05:00
Rob Rix
40828018b9 Add the modules to other-modules. 2015-11-27 10:22:05 -05:00
Rob Rix
ab39e0b832 main-is does not take an array. 2015-11-27 10:22:00 -05:00
Rob Rix
99e383a644 Move Console and Unified into the exe. 2015-11-27 10:14:12 -05:00
Rob Rix
09642ae264 Alignment. 2015-11-27 10:13:14 -05:00
Rob Rix
d431309cc4 We don’t need these extensions. 2015-11-26 14:04:38 -05:00
Rob Rix
33533e7bd0 Don’t depend on ghc-prim. 2015-11-26 14:02:38 -05:00
Rob Rix
d1a243792c Don’t depend on c-storable-deriving. 2015-11-26 14:01:53 -05:00
Rob Rix
1d529d1ec1 Expect bridge to get tree-sitter-c for itself. 2015-11-25 18:33:38 -05:00
Rob Rix
03f8e43e0c Don’t link runtime. 2015-11-25 18:32:24 -05:00
Rob Rix
e98fcf3098 Just say no to cabal building C. 2015-11-25 16:41:35 -05:00
Rob Rix
beeb759274 Simple config. 2015-11-25 16:41:26 -05:00
Rob Rix
1d6b804f46 Don’t link haskell-src. 2015-11-25 16:41:17 -05:00
Rob Rix
06763cd7fc Add the DeriveTraversable extension. 2015-11-25 10:58:37 -05:00
Rob Rix
15868b77ae Add DeriveFoldable. 2015-11-25 10:57:54 -05:00
Rob Rix
3efa8f7e51 I guess we need this. 2015-11-24 16:40:32 -05:00
Rob Rix
640fa1934d Compile in some stuff. 2015-11-24 16:40:09 -05:00
Rob Rix
bc658d0a90 Derive all the things. 2015-11-24 13:15:35 -05:00
Rob Rix
a384b2f9a6 Move the dependency to the executable. 2015-11-24 13:15:32 -05:00
Rob Rix
9bd82d3ce9 Add c-storable-deriving. 2015-11-24 12:50:57 -05:00
Rob Rix
12aadf6547 Custom setup. 2015-11-24 12:50:19 -05:00
Rob Rix
d559b72464 Add extra libraries stuff. 2015-11-24 12:50:04 -05:00
Rob Rix
8e59553018 Close but no cigar. 2015-11-20 08:20:59 -08:00
Rob Rix
2dbb4c56a4 Include haskell-src. 2015-11-20 08:11:20 -08:00
Rob Rix
09cda9d15f Stub in a Console module. 2015-11-19 17:39:21 -08:00
Rob Rix
0fdb2469f9 Stub in a Unified diff renderer file. 2015-11-19 13:35:06 -08:00
Rob Rix
e01c6325a3 We don’t need data-fix. 2015-11-18 11:47:42 -08:00
Rob Rix
5129bc455b Move the diff fixture thing to the executable. 2015-11-18 11:45:23 -08:00
Rob Rix
019f197dde Use FlexibleInstances. 2015-11-18 11:38:56 -08:00
Rob Rix
249989b18a Default extensions. 2015-11-18 11:36:11 -08:00
Rob Rix
e989216361 Add a Term module. 2015-11-18 11:27:09 -08:00
Rob Rix
5fe7cecba9 Add a Categorizable module. 2015-11-18 11:23:28 -08:00
Rob Rix
b122712470 Add a file for SES. 2015-11-18 07:09:49 -08:00
Rob Rix
c467437233 Add a file for Patch. 2015-11-17 18:21:51 -08:00
Rob Rix
b4450e038e Stub in a file for Interpreter. 2015-11-17 16:25:39 -08:00
Rob Rix
aba1b31625 Add an Algorithm file. 2015-11-17 16:20:52 -08:00
Rob Rix
c8b573cb33 Move Operation into its own file. 2015-11-17 15:14:57 -08:00
Rob Rix
34f1ea4261 DeriveFunctor. 2015-11-17 15:06:16 -08:00
Rob Rix
67c707646d Dependencies and stuff? 2015-11-17 15:03:25 -08:00
Rob Rix
51c0c40814 Dot. 2015-11-17 14:52:41 -08:00
Rob Rix
e5b35fdc4a I mean, sure. 2015-11-17 14:44:16 -08:00