-
Notifications
You must be signed in to change notification settings - Fork 5
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
Complete conversion of ANTLR Kotlin into ANTLR5 #15
Conversation
5fbb9f4
to
7732771
Compare
f83a6e4
to
9e08763
Compare
The php target seems to fail, but I do not see how I could have caused that |
It couldn't find composer: "composer: command not found". https://github.com/antlr/antlr5/actions/runs/7709758501/job/21011740363#step:4:8 I always put basic sanity checks into the Github Action workflow file after every single toolchain install. I don't trust anything, anyone, ...., nothing at all, forever. So, after antlr5/.github/workflows/hosted.yml Line 267 in 79211ea
|
Thank you Ken, but I do not understand how my changes caused that specific task to fail, as it seems it was passing before |
This can happen when something in the GH Actions changes. Happens all the time over in grammars-v4, and it's a pain to understand why. Again, just add some basic sanity check to the workflow file, like this: https://github.com/antlr/grammars-v4/blob/1d96a08da2f5c2b00c3d7f025e8370f7118bbd3f/.github/workflows/main.yml#L69-L72 You'll need to add in a call to composer.
|
Ok, I just tried doing that. Thank you for the suggestion |
17c7040
to
67f90cc
Compare
Now we have two failures:
I am also wondering if we could just remove all these tests for all these targets, as we are not using them anyway |
Let's remove other targets at first (#2) to get rid of issues like that. |
Legacy targets are ready to be removed, I suggest you rebase this PR once #17 is merged. |
@ftomassetti now that legacy targets have been removed, rebasing should eliminate issues unrelated to this PR (except maybe kotlin on mac which seems to frequently fail @KvanTTT ?) |
I think it's a problem of GitHub MacOS server, I'm not sure if we can fix it in someway (maybe just turn off testing on MacOS). Also, I'll try to improve Kotlin tests performance later, maybe it will help. |
67f90cc
to
107423d
Compare
Ok, the tests seems to pass (some of them still running), however there has been some interactions with changes occurred in the meantime, and this PR is doing several things: that and the number of files committed make it very hard to review. So I would rather close this PR and do 2 or 3 separate PRs that get easier to review |
First step in replacing this PR: #19 |
… notice and package names Signed-off-by: Federico Tomassetti <[email protected]>
Signed-off-by: Federico Tomassetti <[email protected]>
Signed-off-by: Federico Tomassetti <[email protected]>
Signed-off-by: Federico Tomassetti <[email protected]>
28173a8
to
b900c1c
Compare
The plan is to merge #20, and then ensures that everything in here is covered. When we check that, I will close this PR |
As part of this PR, I updated the copyright notices for all files coming from ANTLR Kotlin. I also updated the files coming from ANTLR4 to specify that the Copyright is extended to the present time.
I then renamed the directory containing the files imported by ANTLR Kotlin but not used, into antlr-kotlin-runtime-remnanets.
Then I renamed the packages used by the ANTLR Kotlin runtime into
org.antlr.v5.kotlinruntime
.This PR fix #14 .