This may have been asked before, sorry if it has :...
# compiler
p
This may have been asked before, sorry if it has 🙈 I was wondering if someone has managed to compile or interpret Kotlin code from Kotlin itself. I haven’t found anything that could work on a KMP project.
j
The compiler is a JVM library/app so while yes I've done that, it's it impossible to do on native unless you shell out or link against the JVM and it's obviously impossible in JS just outright
p
Yeah, that was my fear 😢 Probably why the Kotlin Playground does a round trip to compile the code. Wonder if we’ll ever have a KMP compiler 🤔 That’ll be pretty useful for some niche use cases 😅