All Projects → ShikaSD → kotlin-compiler-notes

ShikaSD / kotlin-compiler-notes

Licence: other
Notes on Kotlin compiler plugin development, internal structure of compiler and everything else Kotlin metaprogramming

Programming Languages

HTML
75241 projects
SCSS
7915 projects

🚧 (WIP) Kotlin compiler plugins 🚧

This repo contains some of my notes on Kotlin compiler plugin development, internal structure of compiler and possible extension points. Majority of these items are taken from my droidcon 2020 talk, but I might be slowly extending the content to capture new developments (updates to plugin API or FIR).

If you feel like something is missing, feel free to open an issue with feature request. Contributions are welcome too!

Where to start:

Notes in this repo are not intended to be a structured tutorial on writing your plugins. However, there are plenty of articles (and talks) on starting with Kotlin compiler plugin development:

You can also find examples of compiler plugins to start your experiments from (with varied degree of production readiness):

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].