I never made a compiler plugin before, but due to posts like this I was motivated to give it a try. Using Arrow Meta, I tried to add suspend getters/setters to Kotlin and with a list of caveats and gotcha’s I managed to get a proof-of-concept working.
It’s far from ready to be used in the wild and there is still a lot I need to figure out, but I thought I’d share my progress to motivate some others to give creating a compiler plugin a try as well :).
submitted by /u/Humpsel
[link] [comments]