Dev Diary - Feb 10, 2024

Published on

I was reading about custom KSP plugins this morning and thought hmm someday I'll make one.

On the same night while I was scrolling through reddit I came across a post in r/Kotlin of a user asking for an annotation-based method logging library that would log the params and return value of each method that had been annotated.

Well well well, what a coincidence. The timing was too good and I commented

"Is this the sign for me to learn and write a KSP plugin?"

and the comments were positive and got 7 upvotes lol.

So it begins. I am going to learn and make a basic Kotlin compiler plugin using KSP that does just that.

For now I'm naming it Parasyte (Param - Sight) I guess. Probably sounds inappropriate but idc.