<@U3SK5B492> Is there anything planned around gene...
# kotlin-native
s
@olonho Is there anything planned around generating kotlin code for kotlin-native? I know annotation processors work for the jvm, but is anything being worked on for generating kotlin-native code? If not, are there any ways we can do static analysis of Kotlin code at compile time to make our own code generation plugin? I haven't found any resources on static analysis of kotlin code.
Are you saying I can use annotation processing to generate kotlin-native code, and it's all setup and works right now?
It sounds like you aren't saying that, but instead that I could just generate the code using a normal java / jvm program that outputs files. I'm more or less looking for a way to generate kotlin code based on application metadata. I was looking into using the kotlin-compiler-embeddable library, which has all the metadata I need, but if I use that, I'd be having the code analyzed twice, right? Once by the compiler, and then a second time by my generation process, or am I mistaken?