Is Kolasu compatible with antlr-kotlin? #327
-
Seems that the Kolasu parser is not compatible when using antlr-kotlin used as target (incompatible types used for Parser).
Or am I doing something wrong / needs there be an additional step? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @hans-d thank you for your interest in Kolasu and ANTLR Kotlin. In general we made an explicit decision in ANTLR Kotlin to use different packages and classes, so you cannot just replace ANTLR Java with ANTLR Kotlin without some adaptations. In Kolasu 1.6 we support both, and if ANTLR Kotlin is used we can make parser that are multi-platform. |
Beta Was this translation helpful? Give feedback.
Hi @hans-d thank you for your interest in Kolasu and ANTLR Kotlin.
The current version (1.5.*) is not compatible with ANTLR Kotlin, but branch 1.6 it is. It has been under development for many months. We are just waiting for Kotlin 2.0 to be officially released to release it, but if you want to look into it I can release an RC.
In general we made an explicit decision in ANTLR Kotlin to use different packages and classes, so you cannot just replace ANTLR Java with ANTLR Kotlin without some adaptations. In Kolasu 1.6 we support both, and if ANTLR Kotlin is used we can make parser that are multi-platform.