This might be a dumb question, but how does it act...
# scripting
k
This might be a dumb question, but how does it actually work behind the scenes? The proposal contains a lot of details of how to use it, the returned interfaces etc but what actually happens at runtime on the different platforms?
i
What in particular you’re interested in? In general this is a combination of many services in the compiler frontend and backend, some IDEA plugin services, etc. The proposal also contains the example skeleton of the resulting class generated by the compiler from a script. Maybe this part require some more clarification?
k
Ah I missed the compilation output code. So the full Kotlin compiler runs at runtime, compiles the script to a
.class
format and that is evaluated by the evaluation engine?
i
More or less - yes.