Patrick Thomson
186c987aa2
Regenerate everything.
2020-09-16 18:25:24 -04:00
Rick Winfrey
eff8233410
Bump semantic-source versions
2020-08-26 16:51:29 -07:00
Rick Winfrey
c6be7cbd32
Merge branch 'master' into eight-dot-ten-patrickt
2020-08-25 15:28:35 -07:00
Patrick Thomson
a064c535cc
Re-enable semantic parse --json
output.
...
When we switched away from alacarte syntax, we lost the `--json`
option for AST output. However, the majority of the needed code was
already implemented by @aymannadeem, so all we had to do was have the
syntax types opt into the `MarshalJSON` API, and to define the
boilerplate needed to plug it into the `Serialize` interface.
Fixes #471 .
2020-07-24 11:38:55 -04:00
Rob Rix
09d4519395
Prune lots more dependencies.
2020-07-16 14:18:51 -04:00
Rob Rix
e5ba3a7831
🔥 many redundant dependencies.
2020-07-16 09:34:59 -04:00
Rob Rix
4dd4b5a54b
Fuss with all the warnings settings.
2020-07-14 14:29:22 -04:00
Rob Rix
2ea6a6c4ea
Tweak everything’s bounds.
2020-07-14 14:25:24 -04:00
Rob Rix
edf219f753
Bump the fused-effects constraints on all the remaining packages to 1.1.
2020-07-13 11:54:32 -04:00
Patrick Thomson
17bc8abd41
Merge remote-tracking branch 'origin/master' into bazel-experiments
2020-07-08 13:37:26 -04:00
Patrick Thomson
0754ff36c7
do them all
2020-07-01 21:47:30 -04:00
Timothy Clem
67bcc3ca48
Use state to cache line and counting algorithms
2020-07-01 16:39:56 -07:00
Patrick Thomson
af7b4b578a
Last shims.
2020-07-01 15:16:57 -04:00
Patrick Thomson
feb0e46de8
No need to walk directories here.
2020-07-01 13:31:59 -04:00
Patrick Thomson
6d390195e3
Fix bad hacks associated with directory paths.
2020-07-01 13:00:15 -04:00
Patrick Thomson
198079ff61
stray changes
2020-07-01 01:17:59 -04:00
Patrick Thomson
20ac0523e3
Enable all the other tests.
2020-06-30 23:59:18 -04:00
Patrick Thomson
dbce051436
simplifying target layouts.
2020-06-27 12:47:04 -04:00
Timothy Clem
e591457a4c
Rework tagging to compute LSP offsets
...
Also updates how we generate the line of source code for display
2020-06-25 14:38:33 -07: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