https://kotlinlang.org logo
#scripting
Title
# scripting
s

steenooo

04/13/2020, 5:57 PM
Is it possible to only compile the script to JVM Bytecode with the scripting api? So I can apply some changes to it on runtime
2
i

ilya.chernikov

04/14/2020, 5:03 PM
There are no well-defined hooks for doing this, but you can use a pseudo-evaluator, simplar to the
BasicJvmScriptClassFilesGenerator
to get an access to the bytecode.
8 Views