JSR 223 is a common JVM scripting API specification.
The implementations of this API are available for Kotlin too. These examples demonstrate usage of the default
implementation (kotlin-scripting-jsr223
) and the one based on the kotlin-main-kts
.
The examples( simple, main-kts) are very bare-bone REPL implementations, while tests( (simple, main-kts) demonstrate various features of the implementations.