Fascinating: <https://github.com/soywiz/valentia>
# javascript
r
K 4
­čöą 4
­čś« 1
r
soywiz is a neat guy - i learned a lot by studying korlibs
l
That project looks interesting. I wonder why it re-implements the Kotlin compiler frontend. Will it use the K2 frontend when K2 is ready?
e
if it wants to run on multiplatform, it can't use the existing frontends
l
Why is that? I understood K2 as a common frontend (and that K/JVM, K/N, K/JS will use it). Since it isn't tied to any backend, I don't see why other projects, such as this one can't use it. I'd be concerned with minor incompatibilities and update frequency with a custom frontend.
e
there is a difference between what the compiler compiles and what the compiler itself runs on
l
Right. I guess I forget that the Kotlin compiler is JVM-only right now.