Hey, everyone, Any references you can suggest for ...
# compiler
d
Hey, everyone, Any references you can suggest for reading about the Kotlin AST and modifying it? I'm starting with my first kotlin compiler plugin and it feels like I threw myself right in the deep...
m
I am working on tree transforms for the AST, related to Arrow Meta. Fairly new to it though but planning to put together some resources soon. If you find anything helpful before I get a chance, I'd be interested to read those as well. There doesn't appear to be a lot of info out there on this.
d
So you understand my pain 😅 What I've seen so far is this talk and the meta documentation.

https://youtu.be/WKR384ZeBgkâ–¾

There was another rather old talk about Kotlin compiler plugins by jetbrains but I don't find it very useful:

https://youtu.be/w-GMlaziIyoâ–¾

I fail to find any other than mentioned in the docs examples...