compile

fun compile(code: String)

Compiles a given code string using Kotlin's scripting infrastructure.

Throws

if the given code snippet does not compile