George Ciubotaru
10/21/2021, 10:13 AMScriptEngine.put()
method) and 2 internal variables: kotlin.script.engine
& kotlin.script.state
. Is there a way to get the variables declared within the script?ilya.chernikov
10/22/2021, 1:33 PMScriptEngine.put()
some variable to the engine, subsequent script will see it as a variable) but script variables are not written back.
Needs to be addressed at some point, but not yet done.
Feel free to file an issue in YT for easier tracking.George Ciubotaru
10/22/2021, 1:46 PMkotlin.script.experimental.api.*
. Does this support access to declared variables?ilya.chernikov
10/22/2021, 1:51 PMkotlin.script.state
), since the Kotlin JSR-223 engine is implemented on top of the same API, but this won't be easy.George Ciubotaru
10/22/2021, 1:52 PMilya.chernikov
10/22/2021, 1:54 PMGeorge Ciubotaru
10/22/2021, 1:54 PM