Patrick Thomson
dbce051436
simplifying target layouts.
2020-06-27 12:47:04 -04:00
Patrick Thomson
96f6f39cbf
The node-types paths are no longer hardcoded to my system 🎉
2020-06-25 10:14:54 -04:00
Patrick Thomson
6c3a08c735
save a ton of code
2020-06-25 08:56:09 -04:00
Patrick Thomson
cac967e87f
Create a macro to define language packages quickly.
2020-06-24 22:16:58 -04:00
Patrick Thomson
3aecbcc98a
Merge remote-tracking branch 'origin/master' into bazel-experiments
2020-06-23 11:03:39 -04:00
Patrick Thomson
801ef3bfc3
use the same GHC warnings everywhere
2020-06-23 09:45:10 -04:00
Patrick Thomson
16ae3ffb9f
add dependencies on node-types files
2020-06-10 12:08:45 -04:00
Patrick Thomson
175c8c6cd5
ever closer
2020-06-09 15:03:27 -04:00
Patrick Thomson
ed07e1c319
getting closer
2020-06-09 14:56:19 -04:00
Patrick Thomson
b208bb91ad
Merge remote-tracking branch 'origin/master' into bazel-experiments
2020-06-09 14:35:24 -04:00
Patrick Thomson
b51a27118f
add more of the bazel subprojects
2020-06-09 13:52:39 -04:00
Ayman Nadeem
6107f56012
Merge branch 'master' into codegen-cleanup
2020-06-08 13:42:45 -04:00
Timothy Clem
2e44d43452
Generate Def/Ref at moment of tagging
2020-06-04 10:39:15 -07:00
Timothy Clem
38a7158b20
Move the rest of the languages over to generated datatypes
2020-06-04 09:53:17 -07:00
Ayman Nadeem
7d1a386a9b
fix all inexhaustive pattern matches in Java tags
2020-06-02 13:34:44 -04:00
Ayman Nadeem
86cade0872
fix java imports
2020-05-21 14:29:08 -04:00
Ayman Nadeem
32e358c61e
remove ddump-splices from Language.Java.Grammar
2020-05-21 11:52:05 -04:00
Ayman Nadeem
d00c95e9f5
hushing more warnings
2020-05-18 19:05:18 -04:00
Ayman Nadeem
53c0f287ba
finish updating Java tags
2020-05-11 10:35:26 -04:00
Ayman Nadeem
7700575a58
revert Language.LANGUAGE files to original state
2020-05-07 11:42:12 -04:00
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