Dokka does the same, too, at least with the previous version, when i was digging into it. It was completely rewritten in Dokka 1.4, but it’s probably still doing the same thing: embedding the Kotlin compiler and using it like a library to get an AST
r
robstoll
11/02/2020, 9:01 PM
Thanks, do you know if the resulting AST is considered to be stable? Or might it change with every patch release?
robstoll
11/02/2020, 9:05 PM
And is there some documentation for the API? I find a lot about compiler plugins but couldn't find the docs for the compiler itself