= kscript - Having fun with Kotlin scripting image:https://img.shields.io/github/release/kscripting/kscript.svg[GitHub release,link=https://github.com/kscripting/kscript/releases] image:https://github.com/kscripting/kscript/actions/workflows/build.yml/badge.svg[Build Status,link=https://github.com/kscripting/kscript/actions/workflows/build.yml] image:https://badges.gitter.im/kscripting/kscript.svg[Gitter,link=https://gitter.im/kscripting/kscript?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge] Enhanced scripting support for https://kotlinlang.org/[Kotlin] on *nix-based and Windows systems. Kotlin has some built-in support for scripting already, but it is not yet feature-rich enough to be a viable alternative in the shell. In particular this wrapper around `kotlinc` adds * Compiled script caching (using md5 checksums) * Dependency declarations using gradle-style resource locators and automatic dependency resolution * More options to provide scripts including interpreter mode, reading from stdin, local files or URLs * Embedded configuration for Kotlin runtime options * Support library to ease the writing of Kotlin scriptlets * Deploy scripts as stand-alone binaries Taken all these features together, `kscript` provides an easy-to-use, very flexible, and almost zero-overhead solution to write self-contained mini-applications with Kotlin. *Good News*: Kotlin https://kotlinlang.org/docs/reference/whatsnew14.html#scripting-and-repl[v1.4] finally ships with a much improved - and needed - scripting integration. See https://github.com/Kotlin/kotlin-script-examples/blob/master/jvm/main-kts/MainKts.md[here] for examples and documentation. Still, we think that `kscript` has various benefits compared this new platform-bundled improved toolstack, so we'll plan to support `kscript` until the kotlin platform will ship with an even more rich and versatile kotlin scripting interpreter. *https://holgerbrandl.github.io/kscript_kotlinconf_2017/kscript_kotlinconf.html[`kscript` presentation from KotlinConf2017!]* ''' * <> * <