1
1
mirror of https://github.com/github/semantic.git synced 2024-11-23 16:37:50 +03:00
Commit Graph

127 Commits

Author SHA1 Message Date
Ayman Nadeem
82a0062f3c change AST.Test to AST.TestHelpers 2020-02-14 11:33:01 -05:00
Ayman Nadeem
93169a8ce0 uncomment ForInit and LocalVariableDeclarationStatement 2020-02-08 19:06:44 -05:00
Ayman Nadeem
e6c0301155 Update AST.hs 2020-02-08 08:21:49 -05:00
Ayman Nadeem
c5fe902067 import Language.Haskell.TH.Syntax (runIO) for Java 2020-02-08 08:11:37 -05:00
Ayman Nadeem
81e28fe7f4 Update semantic-java.cabal 2020-02-07 19:17:03 -05:00
Ayman Nadeem
35783d6774 Update semantic-java.cabal 2020-02-07 19:11:51 -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
ff12a5b621 Update Test.hs 2020-02-06 16:29:22 -05:00
Ayman Nadeem
92203c6b41 change Java test to import AST.Test instead of TreeSitter.Test.Helpers 2020-02-06 16:29:10 -05:00
Ayman Nadeem
bda78e4152 Update semantic-java.cabal 2020-02-06 15:54:38 -05:00
Ayman Nadeem
bd983045ee add common stanza to semantic-java.cabal 2020-02-06 15:28:05 -05:00
Ayman Nadeem
602ac29afd remove semantic-codegen from everywhere in the project 2020-02-04 17:37:09 -05:00
Ayman Nadeem
52e595cd25 Merge branch 'traversty' into codegen-migration-leftovers 2020-02-04 17:01:29 -05:00
Ayman Nadeem
2172c9b37e use getNodeTypesPath for Java 2020-02-04 16:31:14 -05:00
Rob Rix
790431ac74
Tagging uses Traversable1 instead of GTraversable1. 2020-02-04 13:56:19 -05:00
Rob Rix
16c2e867e8
Newlines at EOF. 2020-02-04 13:55:52 -05:00
Rob Rix
7a2cc7fb7a
Move Traversable1 into semantic-ast. 2020-02-04 13:35:35 -05:00
Rob Rix
924ada5744
Apply stylish-haskell. 2020-02-04 13:29:33 -05:00
Ayman Nadeem
87e6991e62 add test-suite to semantic-java.cabal 2020-02-04 12:32:23 -05:00
Ayman Nadeem
96547877cd move Java corpus tests from tree-sitter-java to semantic-java 2020-02-04 12:32:14 -05:00
Ayman Nadeem
d1066dc169 Update semantic-java.cabal 2020-01-31 12:19:55 -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
76eb3af0c3 Update semantic-java.cabal 2020-01-29 16:55:40 -05:00
Ayman Nadeem
f2d3b14032 add Java grammar 2020-01-29 15:51:09 -05:00
Ayman Nadeem
0900bdbe74 Merge branch 'master' into my-grate 2020-01-29 15:09:17 -05:00
Patrick Thomson
9ecaeedcc3 Depend on newer semantic-source. 2020-01-28 12:42:42 -05:00
Ayman Nadeem
9c39c4e0a4 Updata Java dependencies to reference AST.* instead of TreeSitter.* 2020-01-28 12:09:29 -05:00
Ayman Nadeem
2658bf6dee This fails for some reason, investigate later 2020-01-27 15:28:15 -05:00
Ayman Nadeem
04036eabea s/TreeSitter/Language 2020-01-27 15:23:35 -05:00
Ayman Nadeem
de6864049d compensate for src 2020-01-27 15:22:24 -05:00
Ayman Nadeem
05bdf124df create submodule for java AST 2020-01-27 15:17:52 -05:00
Ayman Nadeem
5f218d9090 add AST contents 2020-01-27 15:17:35 -05:00
Ayman Nadeem
5847bd7024 Update semantic-java.cabal 2020-01-27 15:13:12 -05:00
Ayman Nadeem
d33a8d6801 Create AST.hs 2020-01-27 15:13:03 -05:00
Timothy Clem
c0d8675d09 Use semantic-source 0.0.1 2020-01-16 12:57:24 -08:00
Timothy Clem
6bcc231355 firstLine takes a range 2020-01-16 12:14:40 -08:00
Rob Rix
97c83694df
Explicitly list all the instances for Java.Tags.ToTags. 2020-01-15 10:56:31 -05:00
Timothy Clem
3c415e6f93 Merge remote-tracking branch 'origin/master' into precise-tag-benchmarks 2020-01-14 12:42:05 -08:00
Timothy Clem
cc8d71d4cf Use newly released versions of tree-sitter with optimizations 2020-01-14 12:41:53 -08:00
Rob Rix
9c4818e827
Perform tagging using traverse1_. 2020-01-13 14:58:09 -05:00
Rob Rix
d606702573
Use GTraversable1 for Java. 2020-01-13 14:21:51 -05: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
Timothy Clem
446da6b2fb Use the required newer tree-sitter packages 2019-12-18 10:26:32 -08:00
Patrick Thomson
6bebd84deb Officially require GHC 8.8. 2019-12-13 15:48:49 -05:00
Patrick Thomson
af1d62a75b Depend on newer tree-sitter. 2019-12-11 15:04:18 -05:00
Timothy Clem
ec19540425
++tree-sitter 0.7
Also bumps parsers that changed
2019-12-10 16:34:26 -05:00
Rob Rix
a461c72ae4
Bump a few tree-sitter-* versions. 2019-12-10 15:10:25 -05:00
Patrick Thomson
e74183c285 Port Java tagging to FE1. 2019-11-08 12:06:48 -05:00
Patrick Thomson
35ea116f00 Bump various FE dependencies from 0.5 to 1.0. 2019-11-07 15:48:57 -05:00
Rob Rix
b22d86b55b
Tags hold a Loc. 2019-10-17 12:28:32 -04:00
Rob Rix
49cba72090
Update semantic-java. 2019-10-08 15:04:00 -04:00
Rob Rix
5ff38b7296
Re-export tree_sitter_java from Language.Java. 2019-10-07 14:17:19 -04:00
Rob Rix
ae5591437f
Bump the constraints on tree-sitter{,-java,-python}. 2019-10-07 14:07:44 -04:00
Rob Rix
51abeb58ba
We don’t actually have any doctests in these packages. 2019-10-03 01:18:59 -04:00
Rob Rix
d72d5da439
🔥 another redundant dependency. 2019-10-03 01:07:03 -04:00
Rob Rix
d121a3736d
Dedent. 2019-10-03 01:05:30 -04:00
Rob Rix
0e8cf573d4
🔥 a redundant dependency. 2019-10-03 01:05:14 -04:00
Rob Rix
45dae07515
Move firstLine into semantic-tags. 2019-10-03 00:44:19 -04:00
Rob Rix
ff8d01169e
Simplify the ToTagsBy instance for method declarations. 2019-10-03 00:29:51 -04:00
Rob Rix
54e4953dae
Turn off the reduction depth limits. 2019-10-03 00:28:32 -04:00
Rob Rix
88c132bf99
Don’t specialize for Program. 2019-09-27 19:51:55 -04:00
Rob Rix
9f82d6ad0e
Define a custom ToTagsBy instance for MethodInvocation. 2019-09-27 18:52:40 -04:00
Rob Rix
a4ebd26e25
Correct the kinds. 2019-09-27 18:51:12 -04:00
Rob Rix
074967337a
Define a custom ToTagBy instance for ClassDeclaration. 2019-09-27 18:48:48 -04:00
Rob Rix
1d8e0cdc3d
Factor out a helper to compute tags generically. 2019-09-27 18:45:40 -04:00
Rob Rix
0b7f87dc11
Define a custom ToTagsBy instance for Java.Program.
This is primarily to avoid having to set -freduction-depth=0 in Language.Java.
2019-09-27 18:43:29 -04:00
Rob Rix
3d93a5d947
Turn off the reduction depth limit. 2019-09-27 18:42:53 -04:00
Rob Rix
a2cf763f3f
Define a custom ToTagBy instance for MethodDeclaration. 2019-09-27 18:35:01 -04:00
Rob Rix
2921c4ec73
Fix the top-level syntax type. 2019-09-27 18:32:36 -04:00
Rob Rix
a16240c112
Stub in a semantic-java package. 2019-09-27 18:21:06 -04:00