KotlinScript
A script engine wrapper for dynamically evaluating Kotlin source code using the kts extension.
Manages variable bindings via the JSR 223 Bindings mechanism, generates Kotlin val declarations that cast bound values to their appropriate types, and prepends import statements to evaluated code.
Parameters
nullGlobalContext
if true, sets the global scope bindings to null on initialization