Rob Rix
2291e0c97d
Merge branch 'precise-json' into 🔥 -ts-parse
2019-10-08 17:37:29 -04:00
Patrick Thomson
8368950c03
Merge branch 'master' into remove-shelly
2019-10-08 16:52:07 -04:00
Rob Rix
b053774ede
Merge branch 'remove-reprinter-and-rewriter' into precise-json
2019-10-08 16:32:19 -04:00
Patrick Thomson
693c317bf0
Remove experimental reprinting and rewriting facilities.
...
As we shift to a precise, non-DTALC representation of language syntax,
the foundations upon which our (experimental) reprinting and rewriting
framework are becoming questionable. These experiments are not hooked
up anywhere (except the tests), constitute a considerable amount of
code, and are getting in the way of @robrix and myself lately.
I like a lot of this code, but if we're not using it, it's our moral
imperative to delete it, if only to reduce the carbon emissions
associated with our CI builds. We can always rescuscitate it from the
git history if we find ourselves wanting it back.
2019-10-08 14:41:31 -04:00
Rob Rix
a21afc0e1b
🔥 Semantic.AST.
2019-10-07 14:35:05 -04:00
Rob Rix
72b64eaee0
🔥 semantic’s direct dependency on tree-sitter-java.
2019-10-07 14:18:57 -04:00
Rob Rix
501ff24dbf
Add a bound on the tree-sitter-json constraint in the tests.
2019-10-07 14:14:32 -04:00
Rob Rix
dac1041e84
🔥 semantic’s direct dependency on tree-sitter-json.
2019-10-07 14:13:44 -04:00
Rob Rix
ae5591437f
Bump the constraints on tree-sitter{,-java,-python}.
2019-10-07 14:07:44 -04:00
Patrick Thomson
fe7301575c
Remove shelly in favor of streaming-bytestring and utf8-string.
2019-10-07 12:29:42 -04:00
Rob Rix
17c70240d4
🔥 Assigning.Assignment.Deterministic.
2019-10-07 11:56:00 -04:00
Rob Rix
6b4b5011aa
🔥 Language>JSON.Assignment.
2019-10-07 11:42:01 -04:00
Rob Rix
7ffbcdb490
Correct the dependency on tree-sitter-json.
2019-10-07 10:30:57 -04:00
Rob Rix
f8ea6d81c0
Depend on semantic-json.
2019-10-07 10:28:12 -04:00
Rob Rix
a9abd08f5c
Merge branch 'master' into semantic-java
2019-10-07 09:10:20 -04:00
Rick Winfrey
4729b5e677
Remove Haskell language modules for now
2019-10-04 15:00:58 -07:00
Patrick Thomson
4684e3a798
Overhaul catFile.
2019-10-04 12:39:13 -04:00
Rob Rix
90341c1138
Merge branch 'master' into semantic-java
2019-10-03 13:24:52 -04:00
Timothy Clem
c537122987
Allow up to next major version for proto-lens
2019-10-03 09:09:40 -07:00
Rob Rix
d07cc5508a
Move Language.Python & Language.Python.Tags into semantic-python.
2019-10-03 01:13:41 -04:00
Rob Rix
914f69add8
🔥 the à la carte Java stuff.
2019-10-02 18:02:50 -04:00
Rob Rix
116e5b385a
Merge branch 'master' into semantic-java
2019-10-02 17:32:09 -04:00
Timothy Clem
54eb044136
Minor cleanup
2019-10-02 14:21:02 -07:00
Timothy Clem
5fbcca4fe4
Merge remote-tracking branch 'origin/master' into proto-lens
2019-10-02 13:49:32 -07:00
Timothy Clem
85bf7e72ec
Use tclem/proto-lens-jsonpb
2019-10-02 13:14:16 -07:00
Timothy Clem
fccbe6aa58
Write out custom To/FromJSON instances
2019-10-01 14:17:18 -07:00
Patrick Thomson
aec521155f
Merge branch 'master' into parse-effect
2019-10-01 14:52:50 -04:00
Timothy Clem
cba98ae288
Try out manually defining json instances
2019-10-01 10:43:37 -07:00
Rob Rix
2432ba82b9
Merge branch 'master' into semantic-java
2019-09-30 19:02:50 -04:00
Timothy Clem
d678f5b26b
Merge remote-tracking branch 'origin/master' into proto-lens
2019-09-30 15:42:58 -07:00
Timothy Clem
7002b3c9d8
Merge remote-tracking branch 'origin/master' into proto-lens
2019-09-30 15:42:45 -07:00
Timothy Clem
c0a53e957d
Bump to newer version of proto-lens
2019-09-30 15:26:45 -07:00
Patrick Thomson
e6362f9083
Release semantic-0.8.0.0.
...
This is a major version bump because the CLI interface changed with #283 .
2019-09-30 16:54:39 -04:00
Timothy Clem
06a108aa03
Already are using lens
2019-09-30 13:54:05 -07:00
Rob Rix
20e5bdd960
Duplicate the parse carrier.
2019-09-30 16:34:21 -04:00
Rob Rix
a99ef5f855
Rename Semantic.Parse to Control.Carrier.Parse.Measured.
2019-09-30 16:32:50 -04:00
Rob Rix
001f47b42d
Stub in a module for the Parse effect.
2019-09-30 16:25:35 -04:00
Rob Rix
1dbc84d122
Stub in a module for a parse effect.
2019-09-30 14:25:51 -04:00
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