Ayman Nadeem
72d8ad5792
remove shapeParameterName from all generated datatypes and hardcode Parse.Err when building product types
2020-05-07 11:37:29 -04:00
Ayman Nadeem
2f6f950edf
Merge branch 'master' into codegen-cleanup
2020-04-30 13:14:10 -04:00
Ayman Nadeem
188fe07b11
parameterize Java program with Err
2020-04-29 13:55:36 -04:00
Ayman Nadeem
66111e31f6
parameterize Java program with Err
2020-04-29 13:06:16 -04:00
Ayman Nadeem
cdcafd612e
add QuantifiedConstraints extension to AST modules for each supported lang
2020-04-28 13:50:24 -04:00
Ayman Nadeem
7c6718cb88
add KindSignatures, StandaloneDeriving and TypeOperators to all Language.LANG.AST files
2020-04-28 11:07:08 -04:00
Timothy Clem
91ddeda1e0
Fix Loc for Java tags
2020-04-27 13:23:09 -07:00
Patrick Thomson
b3cb0125d4
Simplify first-line calculation in interface declarations.
2020-04-22 11:38:57 -04:00
Ayman Nadeem
d70db96038
Merge branch 'master' into codegen-cleanup
2020-04-22 10:16:05 -04:00
Patrick Thomson
eae11d016c
Tag Java interfaces and interface implementations.
...
This patch adds tagging support to Java `InterfaceDeclaration` and
`InterfaceTypeList` nodes. To do so, we add two new constructors to
`Tags.Tag.Kind`: `Interface`, emitted by `InterfaceDeclaration`, and
`Implementation`, emitted by `implements` clauses in Java source. Some
modification of downstream services will be indicated.
2020-04-21 17:03:19 -04:00
Ayman Nadeem
7834a7b1c0
update main-is for test suites in language cabal files
2020-04-20 11:53:47 -04:00
Ayman Nadeem
e4efec9394
rename Java Test to PreciseTest
2020-04-20 11:45:37 -04:00
Patrick Thomson
8d62ad3b91
Merge remote-tracking branch 'origin/master' into codegen-cleanup
2020-04-01 11:05:40 -04:00
Rick Winfrey
9a7ed9d294
Bump to semantic-source 0.1.0
...
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
2020-03-23 13:40:50 -07:00
Timothy Clem
b5a47e30bc
Bring back tree-sitter corpus tests for java
2020-02-20 13:46:36 -08:00
Ayman Nadeem
2149d3a07a
Merge branch 'master' into codegen-cleanup
2020-02-20 14:55:16 -05:00
Timothy Clem
a697d2109c
Get the tests and benchmarks building again
2020-02-20 10:01:46 -08:00
Timothy Clem
5a358d6894
Fully remove reference to submodules
2020-02-20 09:58:47 -08:00
Patrick Thomson
e45bb13fb1
Remove submodules now that parsers provide grammars themselves.
2020-02-14 13:25:37 -05:00
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