I am interested in doing some minor experimenting with the Kotlin compiler. I would like to try compiling a very basic kt file using a version of kotlinc that I can edit.
I followed the instructions in the README (https://github.com/JetBrains/kotlin) and was able to get a local copy to compile. But then I’m stuck. The kotlinc script in compiler/cli/bin requires jar files to be in specific named locations, so it isn’t a convenient way to iterate on minor changes to the compiler.
What’s the best way to compile a local version of the kotlin compiler, and then run it on a basic kt file?