Advent of Code 2021 in Kotlin
Kotlin command-line compiler is required to build the solutions. It can be installed from here manually or using Homebrew.
$ brew update
$ brew install kotlin
Compile the source code using Kotlin command-line compiler and then run the output jar using Java.
$ cd day-XX
$ kotlinc part-X.kt -include-runtime -d part-X.jar
$ java -jar part-X.jar