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

mkobit

07/26/2018, 6:47 PM
what is the recommended practice for generating code to be compiled along with the script? similar to how the kotlin-dsl generates accessors based on the plugins applied? i see the
compiler-embeddable
artifact, but that doesn't seem to be documented too well
i

ilya.chernikov

07/27/2018, 6:21 AM
I would suggest to try to use another scripts for that. We do not have (yet) any stable open interface to the general compiler, except the command line one. The scripting is the closest to the stable state.
3 Views