Kastree - Simple Kotlin Source AST and Syntax Parsing

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 GitHub - cretz/kastree: Simple Kotlin Source AST and Syntax Parsing, Editing, and Writing. 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 Likes

No comments, except: nice!

@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: