Has anybody tried to compile the Kotlin/Compiler with Kotlin.JS?
I want to provide a playground that compiles to JS in the browser directly, but without having to require a backend to do the job.
I have tried to use TeaVM to compile it, but even providing 20GB of ram can’t compile that artifact only doing this:
So I guess the
kotlin-compiler-embedable should be the artifact to port ideally to Kotlin/Common.
Someone did already any effort in that direction? If it is using java classes maybe it is possible to provide a compatibility layer or something.