1
1
mirror of https://github.com/github/semantic.git synced 2024-12-01 00:33:59 +03:00
Commit Graph

43 Commits

Author SHA1 Message Date
Ayman Nadeem
d955c9e5f4 change from Language.JSON.Grammar to TreeSitter.JSON 2020-02-10 14:36:36 -05:00
Ayman Nadeem
54ed18dbc2 Update AST.hs 2020-02-08 08:21:07 -05:00
Ayman Nadeem
0d55c21d9a import Language.Haskell.TH.Syntax (runIO) for JSON 2020-02-08 08:11:44 -05:00
Ayman Nadeem
1c40609bc1 Update semantic-json.cabal 2020-02-07 19:17:06 -05:00
Ayman Nadeem
c4de91be5d Update semantic-json.cabal 2020-02-07 19:09:13 -05:00
Ayman Nadeem
0f6985fae8 update semantic-LANG cabal files to depend on semantic-ast instead of tree-sitter-test-helpers 2020-02-06 16:32:03 -05:00
Ayman Nadeem
f4a6a0a9e5 change Json test to import AST.Test instead of TreeSitter.Test.Helpers 2020-02-06 16:29:51 -05:00
Ayman Nadeem
cf5e092e34 Update semantic-json.cabal 2020-02-06 15:59:44 -05:00
Ayman Nadeem
7f6beb64bd Update semantic-json.cabal 2020-02-06 15:54:41 -05:00
Ayman Nadeem
602ac29afd remove semantic-codegen from everywhere in the project 2020-02-04 17:37:09 -05:00
Ayman Nadeem
670d4e9703 Remove Language.JSON.Grammar from semantic-json.cabal 2020-02-04 16:38:01 -05:00
Ayman Nadeem
bdd37a35da Delete Language.JSON.Grammar 2020-02-04 16:37:22 -05:00
Ayman Nadeem
6f075a1f8f Update AST.hs 2020-02-04 16:25:57 -05:00
Ayman Nadeem
c9b8b4b5f2 use tree_sitter_json from TreeSitter.JSON instead of Language.JSON.Grammar 2020-02-04 16:24:02 -05:00
Ayman Nadeem
70ef53cbf5 replace submodule path with getNodeTypesPath in JSON 2020-02-04 16:23:37 -05:00
Ayman Nadeem
21d665aeec add test-suite to semantic-json 2020-02-04 12:34:21 -05:00
Ayman Nadeem
a8aa5981ca move corpus tests from tree-sitter-json to semantic-json 2020-02-04 12:33:22 -05:00
Ayman Nadeem
51aa8587e8 add -Wno-missing-deriving-strategies to semantic-json and semantic-java 2020-01-31 11:27:09 -05:00
Ayman Nadeem
9c31c3fcf8 change all semantic-LANG cabal files to depend on semantic-codegen instead of semantic-ast 2020-01-30 17:44:09 -05:00
Ayman Nadeem
61e7155fb3 add semantic-ast to semantic-LANG library dependencies 2020-01-30 16:48:35 -05:00
Ayman Nadeem
0095b80ff8 bring addDependentFileRelative into scope for all Grammar files 2020-01-30 13:49:19 -05:00
Ayman Nadeem
5f4d11bdf1 change function name 2020-01-30 13:44:27 -05:00
Ayman Nadeem
5e85e7d786 fix java and json Grammars 2020-01-30 13:18:12 -05:00
Ayman Nadeem
59869619ec Update semantic-json.cabal 2020-01-29 16:55:42 -05:00
Ayman Nadeem
699f8c343b add JSON Grammar datatype 2020-01-29 15:44:53 -05:00
Ayman Nadeem
56d89e9b4e Update JSON dependencies to reference AST.* instead of TreeSitter.* 2020-01-28 12:04:24 -05:00
Rob Rix
289785d3e4
Get the semantic-json AST from semantic-json.
Co-Authored-By: Ayman Nadeem <aymannadeem@gmail.com>
2020-01-27 13:58:53 -05:00
Rob Rix
0945a3a74f
Copy in the AST generation from tree-sitter-json.
Co-Authored-By: Ayman Nadeem <aymannadeem@gmail.com>
2020-01-27 13:57:41 -05:00
Rob Rix
575b19c451
Add a submodule of tree-sitter-json.
Co-Authored-By: Ayman Nadeem <aymannadeem@gmail.com>
2020-01-27 13:57:13 -05:00
Rob Rix
b77157cee6
Depend on template-haskell.
Co-Authored-By: Ayman Nadeem <aymannadeem@gmail.com>
2020-01-27 13:49:24 -05:00
Rob Rix
1b5ea7acb4
Stub in a module for the AST datatypes.
Co-Authored-By: Ayman Nadeem <aymannadeem@gmail.com>
2020-01-27 13:44:30 -05:00
Timothy Clem
cc8d71d4cf Use newly released versions of tree-sitter with optimizations 2020-01-14 12:41:53 -08:00
Timothy Clem
dfd58dd5c8 Continue to track haskell-tree-sitter optimization work 2020-01-09 14:06:52 -08:00
Timothy Clem
c0309111d8 Targeting latest haskell-tree-sitter 2020-01-07 17:08:35 -08:00
Timothy Clem
12428e4988 Try to always use tree-sitter 0.7.2 2019-12-18 10:59:52 -08:00
Patrick Thomson
6bebd84deb Officially require GHC 8.8. 2019-12-13 15:48:49 -05:00
Timothy Clem
5926b47438 ++tree-sitter 0.7
Also bumps parsers that changed
2019-12-10 11:04:02 -08:00
Timothy Clem
285ba19b2b Bump to latest tree-sitters 2019-12-09 09:52:42 -08: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
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
938be8f0d0
Add a semantic-json package. 2019-10-07 10:27:52 -04:00