https://kotlinlang.org logo
#compiler
Title
# compiler
p

Peter

09/08/2022, 7:19 AM
Are the new Kotlin compilers multi-platform? In other words, can I compile the compiler to JS (or web-assembly in the future) so I can run the compiler itself in a browser. Perhaps already documented somewhere but couldn’t find it.
d

dmitriy.novozhilov

09/08/2022, 7:22 AM
Kotlin compiler is JVM only. It contains some code in java and also uses some JVM dependencies which can not be replaced by anything else (e.g. PSI from intellij as a base for parse tree)
3 Views