kapt only works for JVM right? It doesn't work for javascript does it?
b
bashor
07/11/2017, 10:52 AM
spierce7: right it works only for JVM. Some multiplatform alternative is planned, but not for the near future.
s
spierce7
07/11/2017, 7:20 PM
You mean the Macro system I saw andrey breslav briefly talk about a few months ago? That along with kotlin-native are probably my most anticipated features.
In the mean-time, are there any other ways? Maybe by analyzing the Kotlin AST?
b
bashor
07/12/2017, 6:09 PM
You can try to write compiler plugin as we already have, but note we don’t provide stable API for that yet.
s
spierce7
07/13/2017, 5:23 PM
Can you direct me to any examples of writing compiler plugins for Kotlin?