6

Is there a Kotlin compiler to JavaScript available in JavaScript (like CoffeeScript or Coco)?

If not, when is expected to be available?

TN.
  • 18,874
  • 30
  • 99
  • 157

1 Answers1

6

Currently there's no such implementation.

The existing compiler is written in Java. It is not very clear if we (JetBrains) will work on another implementation in the nearest future. On the other hand, we are always open to contributions...

Andrey Breslav
  • 24,795
  • 10
  • 66
  • 61
  • Are there any plans to port it to Kotlin? (So it may be then compiled to JavaScript?) Or what parts do you think would be hardest to port to Kotlin? – TN. May 29 '12 at 07:40
  • 2
    Definitely, there are such plans, but currently Kotlin compiler depends on a few Java librarie, most importantly — the IntelliJ IDEA's infrastructure for parsing/representing syntax trees, and that is written in Java, we'd have to reimplement that all to be able to compile the the compiler to JavaScript. – Andrey Breslav May 29 '12 at 12:28
  • It's not (pure) Java anymore, is it? – fredoverflow Apr 24 '15 at 11:05