Rick Winfrey
e07d63f284
Java as code nav language; update javaParser
2019-10-09 12:56:50 -07: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
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
223007c508
Get tree_sitter_java from Language.Java.
2019-10-07 14:18:46 -04:00
Rob Rix
bb898a34e6
Get tree_sitter_json from Language.JSON.
2019-10-07 14:13:30 -04:00
Rob Rix
f4da0a8db4
🔥 DeterministicParser.
2019-10-07 11:55:21 -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
734c365674
Add precise JSON to allParsers.
2019-10-07 11:05:49 -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
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
Rob Rix
14e8fd1c50
Merge branch 'master' into semantic-java
2019-10-02 20:51:14 -04:00
Rob Rix
54324a98a7
Merge branch 'master' into list-parsers-independently
2019-10-02 20:27:30 -04:00
Patrick Thomson
2231f7e749
Make runParse return an Either TSParseException.
2019-10-02 18:44:51 -04:00
Rob Rix
30d11fe288
Merge branch 'list-parsers-independently' into semantic-java
2019-10-02 17:44:51 -04:00
Rob Rix
116e5b385a
Merge branch 'master' into semantic-java
2019-10-02 17:32:09 -04:00
Rob Rix
3dd91ec21a
Fix some docs.
2019-10-02 15:13:48 -04:00
Rob Rix
87e72d1e0e
Give a kind signature for the constraint parameter to SomeAnalysisParser.
2019-10-02 15:13:40 -04:00
Rob Rix
80fbd7184f
📝 the abstract parsers.
2019-10-02 15:05:33 -04:00
Rob Rix
17481f566e
📝 SomeParser.
2019-10-02 14:52:45 -04:00
Rob Rix
fd94a1d3f2
📝 the canonical sets of parsers.
2019-10-02 14:48:36 -04:00
Rob Rix
a7c366cde2
Use Map instead of lists of pairs for the parsers.
2019-10-02 14:45:16 -04:00
Rob Rix
ecd283ac43
Rename precisePythonParser to pythonParserPrecise.
2019-10-02 14:10:59 -04:00
Rob Rix
1a1cdc9acb
🔥 the export of precisePythonParser.
2019-10-02 14:10:05 -04:00
Rob Rix
9c981030b9
🔥 ApplyAll.
2019-10-02 14:05:57 -04:00
Rob Rix
66801bf4f6
SomeAnalysisParser uses a single constraint.
2019-10-02 14:05:04 -04:00
Patrick Thomson
cf7f403c0d
Merge branch 'master' into safer-exceptions-over-tree-sitter-ffi
2019-10-02 13:48:14 -04:00
Patrick Thomson
bbf3554bd7
Move and export the exception type.
2019-10-02 12:23:59 -04:00
Patrick Thomson
4c4329f295
Use Exception.try and throw to handle errors from tree-sitter FFI.
...
The crossing into IO and across the FFI boundary is a dangerous
journey. A `try` call handles all possible dynamic/IO-bound
exceptions, and enables the use of a more precise error type on our
end (rather than `String`) and makes downstream code simpler (we just
pass on the thrown `SomeException` rather than throwing a new one
based on a `Left String`).
2019-10-02 12:12:05 -04:00
Rob Rix
035f26725f
List the canonical precise parsers.
2019-10-02 11:26:11 -04:00
Rob Rix
7aee07b3ec
List all the canonical parsers.
2019-10-02 11:24:37 -04:00
Rob Rix
1b46f40e8f
List the canonical à la carte parsers.
2019-10-02 11:23:27 -04:00
Rob Rix
0307f7e536
Alphabetize.
2019-10-02 11:22:43 -04:00
Rob Rix
7fdeb90f6b
Define abstracted parsers.
2019-10-02 10:46:15 -04:00
Rob Rix
e3e14a666b
Move SomeParser to Parsing.Parser.
2019-10-02 10:45:53 -04:00
Rob Rix
3026e6210b
Add separators to the haddocks.
2019-10-02 10:32:57 -04:00
Rob Rix
5c6df16782
Move SomeTerm/withSomeTerm into Semantic.Api.Terms.
2019-10-01 12:45:01 -04:00
Rob Rix
c0ecbb12b6
🔥 SomeParser.
...
It’s unused.
2019-10-01 11:31:16 -04:00
Rob Rix
b005ffb447
Don’t trace in Parsing.TreeSitter.
2019-09-30 17:14:11 -04:00