
Prosa.kt - Declarative code generation for Kotlin
I made a declarative API for generating Kotlin code.
I needed it for one of my desktop/browser Compose apps a while ago and noticed there was no KMP solution for Kotlin codegen.
While working on it, I decided to made the API declarative so the generated code was simpler to reason about. This work started before AI was as popular as it is today, so the design of the API was very important.
Fast forward two years: I realized I needed it for another project of mine, so I figured I might as well open-source the codegen part for the community.
And that's how Prosa.kt was born and proudly brought to you.
There’s a live demo on the landing page, so you can try it out directly.
Check it out at https://prosakt.com and give it a star on GitHub because I love vanity metrics.