Rob Rix
f4da0a8db4
🔥 DeterministicParser.
2019-10-07 11:55:21 -04:00
Rob Rix
6b4b5011aa
🔥 Language>JSON.Assignment.
2019-10-07 11:42:01 -04:00
Rob Rix
6f9d49fef8
🔥 jsonParser.
2019-10-07 11:13:42 -04:00
Rob Rix
058aab0417
🔥 jsonASTParser.
2019-10-07 11:13:36 -04:00
Rob Rix
47020db964
Drop support for JSON from someASTParser.
2019-10-07 11:12:08 -04:00
Rob Rix
a87b91d9a4
🔥 jsonParserALaCarte'.
2019-10-07 11:10:56 -04:00
Rob Rix
190abe1af5
Simplify aLaCarteParsers to exclude à la carte JSON.
2019-10-07 11:10:22 -04:00
Rob Rix
4743e4e595
Simplify allParsers to exclude à la carte JSON.
2019-10-07 11:10:10 -04:00
Rob Rix
ac961fb945
🔥 modeForLanguage.
2019-10-07 11:07:52 -04:00
Rob Rix
9568ff6f2d
JSON defaults to precise.
...
This isn’t actually all that useful, but for completeness’ sake.
2019-10-07 11:06:32 -04:00
Rob Rix
734c365674
Add precise JSON to allParsers.
2019-10-07 11:05:49 -04:00
Rob Rix
656f1e187e
Define a ToTags instance for JSON terms.
2019-10-07 11:05:28 -04:00
Rob Rix
8a3fd7ef67
Alphabetize.
2019-10-07 11:04:56 -04:00
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