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
bb898a34e6
Get tree_sitter_json from Language.JSON.
2019-10-07 14:13:30 -04:00
Rob Rix
024ff089ed
Re-export tree_sitter_json from Language.JSON.
2019-10-07 14:13:12 -04:00
Rob Rix
ae5591437f
Bump the constraints on tree-sitter{,-java,-python}.
2019-10-07 14:07:44 -04:00
Rob Rix
40e83cab6b
📝 the ToTags instance.
2019-10-07 13:53:37 -04:00
Rob Rix
8073e854a1
Merge branch 'master' into precise-json
2019-10-07 11:58:24 -04:00
Rob Rix
17c70240d4
🔥 Assigning.Assignment.Deterministic.
2019-10-07 11:56:00 -04:00
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
397dc43e84
Merge pull request #306 from github/precise-s-expressions
...
Precise s-expression output for precisely represented languages
2019-10-07 11:30:54 -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
87b2779c78
Merge branch 'master' into precise-s-expressions
2019-10-07 10:55:53 -04:00
Rob Rix
b2352868ff
Merge pull request #293 from github/semantic-java
...
Java tagging support
2019-10-07 10:55:14 -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