-
Notifications
You must be signed in to change notification settings - Fork 853
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HCL Expression AST #6178
HCL Expression AST #6178
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow, this is looking great. I've left some comments you may want to review. Good job!
...anguages.hcl/src/org/netbeans/modules/languages/hcl/ast/expression/HCLExpressionFactory.java
Outdated
Show resolved
Hide resolved
I would call for more review and approval once this PR would be ready. I've raised this as a preview to get help from @mbien resolbing my Java 11 vs UnitTest issues. I would have liked this included in NetBeans 19. Though it is not ready yet, there are lot of crufts to be removed/polished, also this alone does not add any functionality to the IDE at the moment, Though many advanced IDE things requires to be able to have the complete AST available.. |
9da619d
to
8fd5582
Compare
I looked through the log and I believe the reason for the failing graal tests is the following:
which causes a chain reaction since many other modules do also depend on it. A green run has also many modules failing to load, so what I did was to sort the log, and diff good and bad run, here are the additional modules which fail to load in this PR:
It might be time to bump the graal tests to JDK 11 baseline since older CE builds can't even be downloaded from official sources: https://www.graalvm.org/downloads/ The DL url did also change slightly I think. Better to put it into a separate PR. |
@mbien I can wait for that PR and rebase. Maybe including HCL support should not be in the base IDE... Coding all of these I'm eager to move to at least Java 17... |
@mbien any news on the Graal? Moss is growing fat on this PR. |
@lkishalmi #6369 is not ready yet and I had no time to take another look after the initial attempt. its another case where dependencies where not kept up to date for a while. |
38cc33f
to
65f921d
Compare
Rebased on master, squashed. I hope for a green one, then would merge. |
the graal job might need some restarts if tests fail since it is missing the retry script. I am going to add it again in a followup PR. |
This one adds the AST for the HCL Expression language. That would be required for a more in-depth semantic analyzer, formatter, hints, whatever.