Patrick Thomson
7eaf7423e0
Fix the generators and kill some unused imports.
2019-10-07 17:45:53 -04:00
Patrick Thomson
ae46a7b105
Make Data.Name.Name a newtype rather than a synonym.
...
The fact that `Name` was a simple alias for `Text` was creeping into
the error messages I'm seeing in `semantic-python`, which was a bit of
a buzzkill. This remedies that.
2019-10-07 17:45:53 -04:00
Rob Rix
527ad69cbd
Merge branch 'master' into core-source-loc-name
2019-10-07 17:41:26 -04:00
Rob Rix
dcc228d1fa
Update for the new shape of Name.
2019-10-07 17:36:35 -04:00
Rob Rix
c5fe348ed3
Simplify locFromTSSpan.
2019-10-07 17:34:15 -04:00
Rob Rix
16b475c57f
Rename FailWithLocC to FailC.
2019-10-07 17:26:37 -04:00
Rob Rix
1391e75a14
Move FailWithLocC into its own module.
2019-10-07 17:25:11 -04:00
Patrick Thomson
d5f8248fd1
Merge branch 'master' into remove-shelly
2019-10-07 17:23:47 -04:00
Rob Rix
89e0185371
Stub in a module for FailWithLoc.
2019-10-07 17:21:23 -04:00
Rob Rix
a93327f46d
🔥 emptySpan.
2019-10-07 17:19:16 -04:00
Rob Rix
36eb0df4a9
Don’t use emptySpan in the doctests.
2019-10-07 17:18:53 -04:00
Rob Rix
d70f95fa56
Don’t re-export Span/Pos.
2019-10-07 17:18:18 -04:00
Rob Rix
8f11c4dae3
🔥 some commented-out fields.
2019-10-07 17:16:37 -04:00
Rob Rix
0b642f579d
Use semantic-source’s definition of Span.
2019-10-07 17:16:01 -04:00
Rob Rix
b082341704
Depend on semantic-source.
2019-10-07 17:14:32 -04:00
Rob Rix
03b12f2900
Define as a newtype wrapper around Text.
2019-10-07 17:10:24 -04:00
Patrick Thomson
651ec2a664
Merge pull request #315 from github/java-under-construction
...
Update Java support status in the README.
2019-10-07 17:09:45 -04:00
Patrick Thomson
998f04ee18
Update Java support status in the README.
...
Now that we’ve removed the Java syntax and assignment modules, parse/assign/diff capabilities for Java have, temporarily, regressed. Let’s inform people of this in the README.
2019-10-07 16:54:10 -04:00
Rob Rix
bacb523b7f
Use the AST synonym in the type of MarkdownParser.
2019-10-07 14:40:09 -04:00
Rob Rix
a457d8777f
Use the AST synonym in the type of AssignmentParser.
2019-10-07 14:39:39 -04:00
Rob Rix
c01e8314ff
🔥 the various *ASTParsers.
2019-10-07 14:37:53 -04:00
Rob Rix
3cad826597
🔥 SomeASTParser.
2019-10-07 14:35:49 -04:00
Rob Rix
a21afc0e1b
🔥 Semantic.AST.
2019-10-07 14:35:05 -04:00
Rob Rix
c25cac9531
🔥 tsParseCommand.
2019-10-07 14:34:07 -04:00
Rob Rix
2f6d485205
Get tree_sitter_python from semantic-python for the precise parser.
...
It’s the same symbol, but will ease breaking the dependency when we 🔥 à la carte Python.
2019-10-07 14:22:28 -04:00
Rob Rix
d530c57141
Re-export tree_sitter_python from Language.Python.
2019-10-07 14:21:57 -04:00
Rob Rix
72b64eaee0
🔥 semantic’s direct dependency on tree-sitter-java.
2019-10-07 14:18:57 -04:00
Rob Rix
223007c508
Get tree_sitter_java from Language.Java.
2019-10-07 14:18:46 -04:00
Rob Rix
5ff38b7296
Re-export tree_sitter_java from Language.Java.
2019-10-07 14:17:19 -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
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
Patrick Thomson
edb2e1c155
Stylish.
2019-10-07 12:37:58 -04:00
Patrick Thomson
cc9d398947
Small cleanup on lsTree.
2019-10-07 12:34:47 -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
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