execute

internal fun execute(compiled: PlainEngine.Compiled, code: String, out: Capture): Any

Run a handle from compile, writing the snippet's println into out, and return captured out + => value. On-tick (may yield). The script body IS the class constructor, so constructing it runs it, and PlainEngine.Compiled.Ok.resultType already carries its own ? — nothing here re-adds one.