Timothy Clem
c0cce3b13b
First pass at switching from proto3 to proto-lens
2019-09-27 16:42:12 -07:00
Rob Rix
a0690fa224
Make semantic depend on semantic-java.
2019-09-27 18:35:50 -04:00
Rob Rix
a16240c112
Stub in a semantic-java package.
2019-09-27 18:21:06 -04:00
Rob Rix
a415d856d7
Merge branch 'master' into semantic-tags
2019-09-27 17:31:26 -04:00
Rob Rix
bd73cd0e1d
Bump to the latest tree-sitter* packages.
2019-09-27 14:02:49 -04:00
Patrick Thomson
65060868bc
Make benchmarks operate and switch to gauge
.
...
I find myself wanting to benchmark some I/O code, so I decided to look
at our benchmark suite, to find that it had bitrotted somewhat. This
patch brings it back up to working status, switches to `gauge` (which
is more accurate than `criteron` and incurs fewer dependencies), and
sprinkles some typed paths on there.
2019-09-27 13:18:30 -04:00
Rob Rix
cf1320586d
🔥 Data.Tag.
2019-09-27 12:04:24 -04:00
Rob Rix
cdb0488fde
Depend on semantic-tags.
2019-09-27 10:53:16 -04:00
Patrick Thomson
9158e31193
Add Properties module for easy tests of associativity/monoidality.
2019-09-25 16:59:06 -04:00
Patrick Thomson
432646192c
Merge branch 'master' into sinister-orphan-machinations
2019-09-24 17:32:32 -04:00
Patrick Thomson
a4d42fbae6
Remove Free/FreeF and drop free dependency.
2019-09-24 17:21:45 -04:00
Patrick Thomson
42da571531
Merge branch 'master' into remove-dead-deps
2019-09-24 17:00:20 -04:00
Patrick Thomson
bec69d89fc
Remove outdated dependencies.
...
Semantic used to have web-server related things in it. This is no
longer the case: it's a CLI app through and through. As such, we don't
need these dependencies.
2019-09-24 16:30:23 -04:00
Patrick Thomson
978018c1e1
Rewrite parse-examples target to use tasty.
...
This gets us a little bit of a speed boost, lets us drop a couple
dependencies, and makes us use streaming libraries.
2019-09-24 03:17:25 -04:00
Rob Rix
a00a78e522
Merge branch 'master' into semantic-source
2019-09-20 16:16:34 -04:00
Rob Rix
2ce8b515b6
🔥 Data.Source.Spec.
2019-09-20 16:11:54 -04:00
Patrick Thomson
f17a2e858f
Remove Data.Source from the .cabal file.
2019-09-20 15:56:33 -04:00
Rob Rix
0f8e69c72f
Switch everything over to using Source.Loc.
2019-09-20 14:51:48 -04:00
Rob Rix
17c61c19d1
Switch everything over to using Source.Span.
2019-09-20 14:38:03 -04:00
Rob Rix
1d5e15010f
Switch everything over to using Source.Range.
2019-09-20 14:28:25 -04:00
Rob Rix
cc820515fa
Depend on semantic-source.
2019-09-20 14:27:59 -04:00
Timothy Clem
76668cbb29
Merge branch 'master' into v0.7.1.0
2019-09-20 11:09:09 -07:00
Patrick Thomson
6f525467c8
Merge branch 'master' into typed-paths
2019-09-20 13:00:55 -04:00
Patrick Thomson
090b014eed
Remove filepath dependency from tests.
2019-09-20 12:26:49 -04:00
Timothy Clem
bc27903c58
++0.7.1.0
2019-09-20 09:01:40 -07:00
Patrick Thomson
dce6081776
Add pathtype as a dependency.
2019-09-19 18:50:31 -04:00
Timothy Clem
df74b485e9
++tree-sitter-typescript/tsx
2019-09-19 14:20:04 -07:00
Timothy Clem
dd3eb649f5
No need for custom RTS options
2019-09-19 09:19:23 -07:00
Patrick Thomson
058462adf5
Merge remote-tracking branch 'origin/master' into bump-to-tree-sitter-0.2.1
2019-09-17 16:17:43 -04:00
Patrick Thomson
2e261c96b2
Merge branch 'master' into ++lingo
2019-09-17 12:49:22 -04:00
Rob Rix
c07a73edd4
String equality.
2019-09-17 12:23:40 -04:00
Patrick Thomson
c14354483b
Disable Java assignment for now.
2019-09-17 12:17:49 -04:00
Rob Rix
88c56f66b9
Pin tree-sitter to fix builds of master.
2019-09-17 12:14:49 -04:00
Patrick Thomson
05d84ea500
Update to latest round of tree-sitter packages.
2019-09-17 10:46:20 -04:00
Timothy Clem
478cf6a8b2
New version of lingo
2019-09-16 15:20:52 -07:00
Patrick Thomson
8b66533c3b
Bump to tree-sitter-python 0.3.0.0.
2019-09-16 13:36:52 -04:00
Patrick Thomson
b3ecc9fb56
Bump to tree-sitter-0.2.1.
2019-09-11 18:24:15 -04:00
Patrick Thomson
dade361ae8
Bump tree-sitter-php to 0.1.0.1.
...
This fixes associativity bugs in the PHP grammar.
2019-09-10 11:56:13 -04:00
Patrick Thomson
7f833f08f5
Bump tree-sitter versions.
2019-09-09 11:39:29 -04:00
Patrick Thomson
2790f59882
Merge branch 'master' into python-test-programs
2019-08-30 09:34:09 -04:00
Timothy Clem
691f1fd3e9
Switch over to lingo on hackage
2019-08-19 11:37:15 -07:00
Timothy Clem
0aab5ebd55
Replace supportedExts
2019-08-15 15:48:17 -07:00
Timothy Clem
2510df0e23
Switch over to using lingo
2019-08-14 16:01:55 -07:00
Patrick Thomson
5acd975b1b
trying to get test cases in shape
2019-08-13 14:01:50 -04:00
Timothy Clem
61186c946d
++0.7.0.0
2019-07-31 09:45:17 -07:00
Timothy Clem
d8ad7f2b25
Merge branch 'master' into proto-rework
2019-07-16 08:36:39 -07:00
Patrick Thomson
f401f75303
WIP
2019-07-06 10:52:38 -04:00
Timothy Clem
7b44a6a24e
Repeatable code gen from proto
2019-07-05 15:11:33 -07:00
Rob Rix
9ea288a36d
Merge branch 'master' into semantic-python
2019-06-25 10:08:47 -07:00
Patrick Thomson
6dda3251e7
Remove servant dependency.
...
This has no place here; downstream consumers can link in servant, but
we don't have any need to.
2019-06-23 16:43:41 -04:00
Patrick Thomson
dd8446c909
Drop the transformers dependency.
2019-06-20 14:13:54 -04:00
Patrick Thomson
b1a2b85d87
Merge remote-tracking branch 'origin/master' into machines-to-streaming
2019-06-20 14:09:39 -04:00
Patrick Thomson
0564b9d36c
Eliminate mtl dependency.
2019-06-20 13:50:50 -04:00
Rob Rix
a483615f21
Stub in a module for generic s-expression serialization of precise ASTs.
2019-06-20 10:53:48 -04:00
Patrick Thomson
17407c0c9d
Initial port from machines to streaming.
2019-06-20 09:41:27 -04:00
Patrick Thomson
4de36c5f0e
Rewrite the Stat tests so they're not racy.
2019-06-19 17:54:53 -04:00
Patrick Thomson
8ae90e53c5
Quiet debug spew in specs.
...
This console barf makes reading though backscrolls unpleasant. Using
Shelly rather than an abomination of a `system` call and adding a
helper function to parse files quietly improved the situation greatly.
This also contains changes to Util that make the file significantly
easier to navigate, thanks to the power of `PartialTyepSignatures`.
Fixes #140 .
2019-06-19 12:09:37 -04:00
Rob Rix
31d396ee91
Merge branch 'master' into semantic-python
2019-06-17 10:54:55 -04:00
Rob Rix
30fd1b4abf
Merge branch 'master' into remove-orphan-bytestring-listable
2019-06-14 16:34:13 -04:00
Patrick Thomson
e1d94f07d1
Remove Listable instance for Source.
...
This was created with a whole mess of Leancheck combinators. A
Hedgehog approach makes things easier.
2019-06-14 11:53:42 -04:00
Jan Hrček
7aa0d8b3d9
Enable GHC warnings in tests
2019-06-14 15:35:18 +02:00
Patrick Thomson
668d1f396f
Require Cabal 2.4.
2019-06-13 14:20:22 -04:00
Patrick Thomson
b8cb9d1bfa
Remove unused imports.
2019-06-12 12:52:11 -04:00
Patrick Thomson
11442cf772
Add more bounds.
2019-06-12 12:37:40 -04:00
Patrick Thomson
99c4bb21f8
Overhaul test harnesses and add tasty bounds.
2019-06-12 11:30:20 -04:00
Rob Rix
dd352cb9c5
Add extra-source-files to semantic.
2019-06-11 11:25:56 -04:00
Rob Rix
32c7698aba
Change the category for semantic to Language.
2019-06-11 11:25:34 -04:00
Rob Rix
83a6c6ca78
Make the different cabal files line up.
2019-06-11 11:25:11 -04:00
Rob Rix
40e9999b02
Add bug-reports fields.
2019-06-11 11:23:38 -04:00
Rob Rix
7ec058c38d
Fix a disagreement between the LICENSE file and Copyright field.
2019-06-11 11:12:58 -04:00
Patrick Thomson
039e187819
Fix travis invocation and add more bounds.
2019-06-11 11:05:10 -04:00
Patrick Thomson
90562edd53
Fixes for build time.
2019-06-10 15:03:59 -04:00
Patrick Thomson
dcf4a577f7
Use Hackage package rather than submodules.
2019-06-10 13:29:11 -04:00
joshvera
6b13145862
Move jsxElements out of TypeScript grammar
...
Also removes typeAssertion from TSX grammar
2019-06-06 16:37:29 -04:00
joshvera
a8a36adc81
Merge remote-tracking branch 'origin/master' into typescript-mapped-types
2019-06-06 15:27:59 -04:00
Patrick Thomson
9aebd13e5b
Merge branch 'master' into fail-all-of-the-tests-at-once-and-explode-into-space
2019-06-06 02:40:01 -04:00
Rob Rix
87209d3eee
🔥 MiniPython & MiniRuby.
2019-06-05 17:05:14 -04:00
joshvera
33e267151a
WIP
2019-06-05 14:17:12 -04:00
Patrick Thomson
79fa92e9e6
Bump minimum base
version to 4.12.0.0.
...
This should hopefully provide a more informative error message when
someone attempts to build the project with too old of a GHC.
2019-06-05 10:38:51 -04:00
Patrick Thomson
3e1f3bcb9f
Remove redundant HasSpan class.
...
We already have a classy-lenses-style HasSpan class, provided by Data.Span itself, so we don't need Data.Abstract.HasSpan.
2019-06-04 14:40:09 -04:00
Rob Rix
f79ba2ae36
Merge branch 'master' into move-grammar-datatypes-to-the-parser-packages
2019-06-03 15:22:56 -04:00
Rob Rix
2646f89948
Move the grammar datatypes for all the other languages into their respective packages.
2019-06-03 14:14:04 -04:00
Patrick Thomson
1932332b96
Merge remote-tracking branch 'origin/master' into if-any-monad-is-not-freer-then-I-too-am-bound
2019-06-03 13:40:49 -04:00
Rob Rix
0fa39f6131
🔥 Language.JSON.Grammar.
2019-06-03 13:23:16 -04:00
Rob Rix
f9579b1ed6
🤠 fix the author field in the cabal file.
...
https://github.com/github/semantic/graphs/contributors seemed too lengthy to fit in there and we didn’t want to leave people out, so we went with “The Semantic authors” to cover everybody.
2019-06-03 12:40:15 -04:00
Rob Rix
930b5c01c6
🤠 fix the repo URL in the cabal file.
2019-06-03 12:39:04 -04:00
Rob Rix
e6145c6217
Don’t depend on freer-cofreer.
2019-06-03 12:18:15 -04:00
Patrick Thomson
a7f6806298
Fix cabal build. ( #4 )
...
- Remove cmark-gfm direct dependency.
- Fix submodule paths.
- Pin to versioned fused-effects packages.
2019-05-31 08:58:35 -04:00
Douglas Creager
cf803555e5
Make error reporter API generic
...
Instead of hard-coding the HTTP API we use for uploading errors to our
internal service, let the user provide an arbitrary function (in the IO
monad) for uploading them. The default config will create an error
reporter that logs errors to the console, just like happened before if
you didn't set the `HAYSTACK_URL` environment variable.
2019-05-31 08:58:34 -04:00
Patrick Thomson
b2bbda5fca
Specify version bounds in .cabal file ( #1 )
...
Establish library bounds based on Stackage LTS 13.13.
We use the new cabal `^>=` operator to establish PVP-compatible versioning.
2019-05-31 08:58:17 -04:00
Douglas Creager
afea75f86f
Add license and maintainer to cabal file
2019-05-31 08:37:44 -04:00
Patrick Thomson
a410300492
Add tests for readBlobsFromGitRepo.
...
This is part of the critical path for repository tagging, so we should
test it to make sure it doesn't explode. This introduces a test that
creates a temporary git repo and queries it to make sure that adding
and then reading from a blob works properly.
2019-05-28 14:54:18 -04:00
Patrick Thomson
a0f87c3c12
Remove -dynamic flag from cabal file.
...
We originally put this here because we were recompiling
haskell-tree-sitter on every ghci reload, and it sped up the process
of linking the built haskell-tree-sitter into ghci. Now that we
compile haskell-tree-sitter once, its use is no longer applicable, and
it interferes with profiling builds.
2019-05-28 12:12:12 -04:00
Patrick Thomson
789fcde288
Merge branch 'master' into blob-depends-on-file
2019-05-24 12:46:16 -04:00
Patrick Thomson
59583c6105
Ensure parse-examples gets passed the -threaded flag.
2019-05-24 12:09:48 -04:00
Patrick Thomson
9509ec37b8
absolutely massive patch that touches everything
2019-05-21 22:05:23 -04:00
Patrick Thomson
70463f79f9
Remove cubic-caller problem.
2019-05-15 18:21:07 -04:00
Patrick Thomson
895677c88e
Add fused-effects-exceptions.
2019-05-15 18:04:07 -04:00
Patrick Thomson
065c4688ef
Remove unused protobuf-related files.
...
For some reason that escapes me at the moment, I chose to put these
files in the main tree rather than in services/alephd.
2019-04-29 10:58:51 -04:00
Timothy Clem
0de9099578
Fix parse-examples
2019-04-12 12:54:12 -07:00
Timothy Clem
7840aec67b
Fix specs
2019-04-12 12:50:30 -07:00
Timothy Clem
40c4c1f657
Cleanup
2019-04-12 11:45:07 -07:00
Timothy Clem
aef2d62b1b
Move Git functionality into semantic
2019-04-12 11:40:03 -07:00
Patrick Thomson
ecea375520
Eliminate boolean blindness with tagged flags a la olegfi.
2019-03-22 16:25:04 -04:00
Josh Vera
f2c6a50c2d
Merge branch 'master' into use-external-exceptions-package
2019-03-19 16:06:53 -04:00
Max Brunsfeld
3c0dd6cc45
Add unit test for parsing with a timeout
...
Co-Authored-By: Rick Winfrey <rewinfrey@github.com>
2019-03-19 11:56:07 -07:00
Patrick Thomson
139b0c5bd1
Use external fused-effects-exceptions package.
...
This was OSS'd because it turned out to be a little tricky and we
didn't want external consumers to have to implement it themselves. No
reason to keep it around in our tree.
2019-03-19 10:34:13 -04:00
joshvera
a9e4a71fd0
Move catchSync to Control.Effect.Catch
2019-03-18 12:56:46 -04:00
Patrick Thomson
b92d9a5382
Rename Helpers to Bridge.
2019-03-01 15:27:13 -05:00
Josh Vera
8c654caacc
Merge branch 'indexer-prototype' into merge-indexer-prototype
2019-02-22 17:33:53 -05:00
joshvera
f2aee684bc
Merge remote-tracking branch 'origin/master' into indexer-prototype
2019-02-22 11:10:53 -05:00
joshvera
ffc53d3877
Merge remote-tracking branch 'origin/indexer-prototype' into merge-indexer-prototype
2019-02-21 12:22:08 -05:00
Timothy Clem
fcf0f3896d
Merge remote-tracking branch 'origin/master' into embrace-new-api
2019-02-20 14:51:31 -08:00
Rick Winfrey
9d884e4af3
Merge branch 'master' into indexer-prototype
2019-02-20 12:09:23 -08:00
joshvera
be4250707d
Merge remote-tracking branch 'origin/indexer-prototype' into deploy-to-moda
2019-02-20 14:23:18 -05:00
Timothy Clem
af321dfd23
Revert "Let's call it 1.0!"
...
This reverts commit ec8377ca30b15b29c49aec9ed5cb3811b7c07ff4.
2019-02-20 08:27:46 -08:00
Timothy Clem
f2116d9ed8
Let's call it 1.0!
2019-02-19 16:33:33 -08:00
Patrick Thomson
07fbfbc965
examples require process package
2019-02-19 16:11:28 -05:00
Patrick Thomson
1d600e199c
Factor out common executable flags
2019-02-19 14:31:16 -05:00
Patrick Thomson
50b55b084f
Test consolidating ghc-options in library stanza
2019-02-19 14:22:16 -05:00
Patrick Thomson
6daf9be738
Factor out common libraries.
2019-02-19 14:20:33 -05:00
Patrick Thomson
8418290224
Factor out common GHC extensions.
2019-02-19 13:54:14 -05:00
Patrick Thomson
6b763dd5e9
Fix tests.
2019-02-15 17:55:15 -05:00
Timothy Clem
cbd83d5bb9
This warrents a version bump
2019-02-15 13:34:17 -08:00
Patrick Thomson
c7b41a3594
Merge remote-tracking branch 'origin/master' into indexer-prototype-no-sg
2019-02-15 14:05:23 -05:00
Timothy Clem
cc78c0d8d5
Case Api as generated
2019-02-12 12:49:34 -08:00
joshvera
e73fcc57a5
Move DCOMPUTE_GIT_SHA to cpp-options
2019-02-11 15:08:24 -05:00
joshvera
c9724d2720
Merge 'origin/master' into deploy-to-moda
2019-02-11 14:27:22 -05:00
joshvera
4fd258182e
Merge remote-tracking branch 'origin/indexer-prototype' into deploy-to-moda
2019-02-11 13:56:08 -05:00
joshvera
dd106278b3
Add getSpan so we don't have to eval a term
...
Co-Authored-By: Rob Rix <robrix@github.com>
2019-02-11 13:15:13 -05:00
Timothy Clem
6083803d68
Bring in twirp-haskell and generate everything from protos
2019-02-08 13:52:34 -08:00
joshvera
867d1867c0
remove Data.GitHub.Spec
2019-02-08 15:46:46 -05:00
Patrick Thomson
7db320f6a5
Consolidate a number of unused modules.
2019-02-08 14:43:15 -05:00
Patrick Thomson
6b5f5c11de
Gut Semantic.Lens and move lensy declarations near their datatypes
2019-02-08 14:14:19 -05:00
Patrick Thomson
fbf4b443b4
Move tag to its own file and add a couple lenses
2019-02-08 12:05:59 -05:00
Timothy Clem
50bedeb689
Remove extraneous proto encoding/decode from our internal datatypes
2019-02-06 14:55:43 -08:00
Timothy Clem
edc9adb197
Install and use hlint directly
2019-02-04 15:19:10 -08:00
joshvera
e99f85e7a1
Merge remote-tracking branch 'origin/master' into indexer-prototype
2019-02-04 17:17:45 -05:00
joshvera
a4d892811f
Merge remote-tracking branch 'origin/master' into indexer-prototype
2019-02-01 16:03:16 -05:00
Timothy Clem
635f09fe29
++version to 0.5.0
2019-01-31 15:41:08 -08:00
Timothy Clem
f14412fe8f
Merge remote-tracking branch 'origin/master' into servant-experiment
2019-01-31 12:57:59 -08:00
Patrick Thomson
4701a91c02
move SQL stuff out of Core and add Catch effect
2019-01-31 14:37:40 -05:00
Timothy Clem
d3330aa9f3
Dedicated input types for Blob and BlobPair
2019-01-28 14:37:50 -08:00
Timothy Clem
1faff05a2b
Remove some un-used code
2019-01-25 10:12:38 -08:00
Patrick Thomson
13ac7b4942
Last stage of the great renaming
2019-01-24 13:23:59 -05:00
Patrick Thomson
46969defce
Pull in upstream proto3-suite and kill the Exts module.
2019-01-24 13:13:47 -05:00
Patrick Thomson
92b5549d01
Move Envelope
2019-01-24 13:02:11 -05:00
Patrick Thomson
869bd26cae
Move User.hs
2019-01-24 12:59:48 -05:00
Patrick Thomson
3cd4ffc9c3
RequestContext, RequestMethod, and RepositoryPush
2019-01-24 12:57:50 -05:00
Patrick Thomson
469151d180
Move Data/GitHub/Repository
2019-01-24 12:48:15 -05:00