algorithm-archivists / algorithm-archive

A collaborative book on algorithms
https://www.algorithm-archive.org
MIT License
2.38k stars 356 forks source link

Added Kotlin compilation #984

Closed Amaras closed 2 years ago

Amaras commented 2 years ago

This PR is to add Kotlin compilation to SCons.

I have decided to compile to a JAR because compiling to individual classes was more anoying.

I could probably compile to a JAR including the Kotlin runtime, but this did not seem necessary.

The tool is taken nearly directly from the scons-contrib repository (under MIT license).

If you have any other remarks, feel free to put them below.