Closed lppedd closed 9 months ago
I encourage you to checkout the branch and experiment with it.
Wow @lppedd what an amazing contribution: THANK YOU!
Restore Travis (or another CI) build, and maybe Jitpack, although I'd like to avoid it and publish straight to Central
I would suggest we use GitHub actions and we publish to Maven Central
Possibly restore example projects (or agree to move them to another repository - preferred IMO)
Let's move them to another repository. We actually created the repository some time ago: https://github.com/strumenta/antlr-kotlin-examples
Just pushed another couple of commits to add back the previously enabled Native targets.
As with JS, Native targets lack proper implementations for IdentityHashMap
and WeakHashMap
.
WeakHashMap
is tracked at https://youtrack.jetbrains.com/issue/KT-48075
IdentityMap
is tracked at https://youtrack.jetbrains.com/issue/KT-8435
Plus, native targets are not thread safe. I'll have to check what can be done with Kotlin's AtomicFU, but not now, maybe in some months.
Regarding example projects, I'd say let's get this merged first (and published possibly), and then I can go back and update them in the other repo. I'll do some manual testing tho, to verify that they still work.
I think once this PR is in, we could consider starting the process to get this included in the list of official targets
I've updated the readme, let me know if it's good enough.
I think it's up to you now to add the publishing/signing bits and the Actions stuff.
I'll experiment with build + publication to see what's the best chain of commands, but we also need to consider we are building on two machines (at least).
Do some experimentation with a private Maven repo first.
Ok, let's merge this one and then add GitHub actions and publishing
Sounds good! Thanks! I'll open another PR soon to address #104 and #38.
This is a fairly big PR, so I recommend going through it commit by commit, each being self-descriptive.
What has been done:
77
75
81
93
106
Kotlin.stg
) to output working, beautified and readable codeTesting
I've set up an additional module
antlr-kotlin-tests
, which is supposed to host all the multiplatform tests.I've only ported the
MiniCalc*
ones, but I don't think there are others to move.TO-DO
antlr
plugin