I'm wondering if it is somehow possible to convert (compile) a kotlin file to Javascript programmatically from inside of an kotlin-jvm project? Is this even possible in generell (a cli would work as well) during runtime?
Hmm, is the JS compiler fully written in Kotlin or does it have to run as part of other tooling? If only a JVM is needed to compile to JS you may be able to extend my project for that case 🤔
https://github.com/fluidsonic/fluid-compiler
c
Christian Dräger
10/19/2020, 9:55 PM
Nice the kotlin compiler server would suite my case. I will give it a try
Christian Dräger
10/19/2020, 9:59 PM
@Marc Knaup the fluid compiler looks like what I had in my mind when asking my question. If it would support compiling to js I think it would be pretty handy for my use case