If I want to do Kotlin AST parsing I heard that the Kotlin compiler might be a good approach. I see there's a library called kastree as well.
What is preferred and do anyone know of example code using it?
I didn't find very much info on the Kotlin compiler approach. 😕