Join Slack
Powered by
Is there a way with `kotlin-compiler` and `kotlin-...
# compiler
p
pardom
06/18/2019, 6:48 PM
Is there a way with
kotlin-compiler
and
kotlin-script-util
to evaluate a simple expression like
Foo("bar")
and get an instance? Kind of a like a
Class.forName
evaluator?
t
tschuchort
06/19/2019, 12:03 AM
I have made a library that can evaluate scripts by compiling them with the K2JVMCompiler. But that's probably too heavy-weight and clunky for you.
5
Views
Open in Slack
Previous
Next