Hi everyone, what is the best documentation/ video...
# scripting
l
Hi everyone, what is the best documentation/ video/resource to learn how to use kotlin scripting, and how it works I'm having a difficult time finding information.
j
If you want a good understanding of how everything was designed I'd suggest looking at https://github.com/Kotlin/KEEP/blob/master/proposals/scripting-support.md which is quite a good read. Then you have small examples at https://github.com/JetBrains/kotlin/tree/master/libraries/examples/scripting
✔️ 1
b
There's no documentation really, besides 10 lines of text on the kotlinlang page: https://kotlinlang.org/docs/tutorials/command-line.html
(see at the bottom)
is there any information you're looking for specifically?
(ps: also keep in mind that Kotlin scripting is quite broken in 1.3.50, 1.3.60 might be better)
l
@bodiam I haven't had a chance to read the sciprting support proposal. I wanted to use coroutines with scripting so wanted information about how the threading works, the context of the script etc. And if serialization is possible to run script suspend and re-run hours later by saving state into a database.