Nick Halase
07/31/2019, 6:21 PMMark Murphy
07/31/2019, 6:24 PM.kts
files, run via kotlinc -script
, offer that.
If you mean "be able to run Kotlin scripts from within your program", Kotlin/JVM supports the JSR-223 APIs, both to run scripts and to have Kotlin itself run as a script. See https://kotlinexpertise.com/run-kotlin-scripts-from-kotlin-programs/ for some material on this.
And, if neither of those are what you meant... could you explain a bit more about what you need? 😅jw
07/31/2019, 6:25 PMkotlinc
will also dump you into a jshell
-like interactive sessionNick Halase
07/31/2019, 6:26 PMRuckus
07/31/2019, 6:27 PMNick Halase
07/31/2019, 6:28 PMcedric
07/31/2019, 6:57 PM