1
1
mirror of https://github.com/github/semantic.git synced 2024-12-19 04:41:47 +03:00
Commit Graph

411 Commits

Author SHA1 Message Date
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