https://kotlinlang.org logo
Title
e

Elena Shaverdova

07/04/2018, 1:31 PM
Is there any documentation about creating custom compilation target for Kotlin?
k

karelpeeters

07/04/2018, 2:44 PM
I don't think it's something that's easily done and documented at all.
g

gildor

07/04/2018, 4:20 PM
What is your use case?
e

Elena Shaverdova

07/04/2018, 7:09 PM
@gildor a user asked at conference; wanted to try implementing compilation in PHP
g

gildor

07/04/2018, 11:55 PM
So transpiling to PHP No, it would be very big project to do that. It's one more backend for Kotlin. Now Kotlin team works on compiler refactoring to share more code between different backends, but I think even after this it would be very big project. And it's not clear why do you need this, you already can run Kotlin on server using JVM, JS and even native, so one more dynamic backend with transpiling that target server only looks not really interesting and valuable
f

fatih.yalmanbas

07/05/2018, 10:27 AM