Rob Rix
2d74113a9d
Define a ToTags instance for JSON.
...
There’s no tags to generate for JSON (without e.g. a schema or something for the data), but implementing the instance allows us to avoid having to customize the list of parsers for tagging.
2019-10-07 11:04:37 -04:00
Rob Rix
ed17dcbeea
Define an SExprTerm instance for precise JSON.
2019-10-07 10:57:17 -04:00
Rob Rix
4f6e91a128
Define a ShowTerm instance for precise JSON.
2019-10-07 10:57:02 -04:00
Rob Rix
a4ed7de6f0
🔥 a redundant -fno-warn-orphans.
2019-10-07 10:51:50 -04:00
Rob Rix
53803071b0
Rename jsonParser' to jsonParserALaCarte.
2019-10-07 10:48:51 -04:00
Rob Rix
e5e9228f56
Export jsonParserPrecise'.
2019-10-07 10:42:52 -04:00
Rob Rix
f4212d2c6e
Add a precise JSON parser.
2019-10-07 10:40:52 -04:00
Rob Rix
56956198fa
Fix an overlooked case.
2019-10-07 10:40:30 -04:00
Rob Rix
20bc736250
Fix a renamed rule.
2019-10-07 10:40:11 -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
938be8f0d0
Add a semantic-json package.
2019-10-07 10:27:52 -04:00
Rob Rix
1ec330fbe4
Annotate the kind of ToSExpression.
2019-10-07 09:17:30 -04:00
Rob Rix
57826de7a0
Merge branch 'semantic-java' into precise-s-expressions
2019-10-07 09:16:33 -04:00
Rob Rix
a9abd08f5c
Merge branch 'master' into semantic-java
2019-10-07 09:10:20 -04:00
Patrick Thomson
9ee99ef4b4
Merge pull request #309 from github/build-benchmarks-in-ci
...
Build, but don't run, the benchmarks in CI.
2019-10-05 09:06:43 -04:00
Rick Winfrey
964d53afe3
Merge pull request #310 from github/remove-haskell-syntax-modules
...
Remove Haskell language modules for now
2019-10-04 15:41:09 -07:00
Rick Winfrey
4729b5e677
Remove Haskell language modules for now
2019-10-04 15:00:58 -07:00
Patrick Thomson
43f0fd4140
Merge branch 'master' into build-benchmarks-in-ci
2019-10-04 17:36:43 -04:00
Patrick Thomson
590767697c
Merge pull request #308 from github/catfile-improvement
...
Speed up Semantic.Git.catFile and avoid crashes on non-UTF-8 input.
2019-10-04 17:36:14 -04:00
Patrick Thomson
a3f2816d4d
New version should be 0.0.1.0.
2019-10-04 17:16:34 -04:00
Patrick Thomson
532876705f
Build, but don't run, the benchmarks in CI.
...
Should address issues with the benchmarks bitrotting.
2019-10-04 16:48:49 -04:00
Patrick Thomson
e5841eb473
Squash warnings.
2019-10-04 15:49:34 -04:00
Patrick Thomson
2f91bad319
Fix tests.
2019-10-04 15:49:30 -04:00
Patrick Thomson
4684e3a798
Overhaul catFile.
2019-10-04 12:39:13 -04:00
Patrick Thomson
2aae2af79f
Add an NFData instance for Source.
2019-10-04 12:38:32 -04:00
Patrick Thomson
54394d61c8
Move around and correct benchmarks.
2019-10-04 12:37:24 -04:00
Patrick Thomson
284fc30f1c
Reorganize benchmarks.
2019-10-04 11:25:34 -04:00
Rob Rix
2791018ce0
Merge remote-tracking branch 'origin/semantic-java' into precise-s-expressions
2019-10-03 14:26:53 -04:00
Rob Rix
4eb0e76bee
Use square brackets for collections.
2019-10-03 14:24:00 -04:00
Rob Rix
722f8d3a18
Special-case empty collections.
2019-10-03 14:22:46 -04:00
Rob Rix
9439145b2b
Increase indentation.
2019-10-03 14:21:02 -04:00
Rob Rix
67e2909b05
Simplify the formatting of compositions.
2019-10-03 14:17:29 -04:00
Rob Rix
546c1d0e64
List the imports explicitly.
2019-10-03 14:15:47 -04:00
Rob Rix
7b74525d2f
Specialize for the wrapper types and format accordingly.
2019-10-03 14:11:51 -04:00
Rob Rix
7dabb9a972
Use a list literal.
2019-10-03 13:50:47 -04:00
Rob Rix
70c309aaec
Tweak to alignment.
2019-10-03 13:43:21 -04:00
Rob Rix
90341c1138
Merge branch 'master' into semantic-java
2019-10-03 13:24:52 -04:00
Timothy Clem
05edc308d0
Merge pull request #296 from github/proto-lens
...
Switch to proto-lens
2019-10-03 10:15:15 -07:00
Rob Rix
779b1154c6
Allow s-expr rendering for Java & precise Python.
2019-10-03 12:58:06 -04:00
Timothy Clem
f8c76b2329
Merge remote-tracking branch 'origin/master' into proto-lens
2019-10-03 09:48:06 -07:00
Rob Rix
88f9fc88c7
Define a SExprTerm instance for Precise python.
2019-10-03 12:47:18 -04:00
Rob Rix
b322d2674e
Define a SExprTerm instance for Java.
2019-10-03 12:47:10 -04:00
Rob Rix
4ffa6c4a26
sexprTerm is pure.
2019-10-03 12:46:03 -04:00
Rob Rix
e1a18eeb05
Bypass serialize and call into the s-expression serialization code directly.
2019-10-03 12:45:16 -04:00
Timothy Clem
c537122987
Allow up to next major version for proto-lens
2019-10-03 09:09:40 -07:00
Rob Rix
b9cc7763ec
Merge pull request #307 from github/semantic-source-ghc-8.8.1
...
semantic-source-0.0.0.1/ghc-8.8.1
2019-10-03 11:57:08 -04:00
Timothy Clem
32f6e9dfb9
++proto-lens-jsonpb to handle excluding default fields
2019-10-03 08:41:30 -07:00
Rob Rix
93746a4737
Add notes to the changelog.
2019-10-03 11:32:09 -04:00
Rob Rix
6918d47e3d
Bump the version to 0.0.0.1.
2019-10-03 11:31:19 -04:00