Thread
#multiplatform
    r

    Ruckus

    4 years ago
    Is there any plan to open up the multiplatform concept to let people create their own compile targets? Or even just some helpers for Kotlin transpiling (something like what is used for Kotlin/JS)?
    I'm not sure if it would be a good idea, but it would be interesting to see some form of core Kotlin as a meta-language that can be transpiled to other languages, along with some custom stuff for the target language (like
    dynamic
    for JS and reflection for JVM).
    gildor

    gildor

    4 years ago
    You actually talking about custom backend for Kotlin. I think we should wait end of compiler refactoring. After that Kotlin backend will have IR layer so big part of compiler will be shared across different backends, so it will make implementation of new backend easier, but I'm pretty sure it requires a lot of work to implement new backend.
    But it would be possible to generate code from IR
    r

    Ruckus

    4 years ago
    Makes sense
    l

    lex

    4 years ago
    what platform you want?
    r

    Ruckus

    4 years ago
    Not any one in particular. I had an idea pop into my head, but I'm still not sure it was a good one.