kapt only works for JVM right? It doesn't work for...
# multiplatform
s
kapt only works for JVM right? It doesn't work for javascript does it?
b
spierce7: right it works only for JVM. Some multiplatform alternative is planned, but not for the near future.
s
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
You can try to write compiler plugin as we already have, but note we don’t provide stable API for that yet.
s
Can you direct me to any examples of writing compiler plugins for Kotlin?