Kastree - Simple Kotlin Source AST and Syntax Parsing


#1

I have a project where I needed to create a Kotlin AST from scratch (basically a more nuanced KotlinPoet) but I couldn’t find a simple AST or this basic need. So I wrote https://github.com/cretz/kastree. I also added the parser wrapper/converter to help with my tests and after hearing others’ troubles here on the forum. Feedback/questions welcome.


#2

No comments, except: nice!


#3

@cretz This is really awesome, I love it. Me and a few other developers currently build a small language server for Kotlin, so maybe we could somehow integrate your library. :slight_smile: