Writing Kotlin Compiler Plugins with Arrow Meta

Mohit Sarveiya

Google Developer Expert

Kotlin

Writing a compiler plugin is an uncharted area for many. With the introduction of Arrow Meta, writing compiler plugins just got easier. It's a library that provides a functional API for creating plugins.

In this talk, we’ll learn about how to write and test compiler plugins with Arrow Meta. This library provides an API for source transformations, automatic code refactoring, and much more. We’ll look at use cases from source transformations, IDE plugins and custom type checking that are made possible with Arrow Meta. We’ll also look at how to test each use case.

Under the hood, Arrow Meta supplements the compiler by hooking into the various compilation phases. We'll look at Arrow Meta works. By the end of this talk, you will have a tool that you could use to create plugins.

Mohit Sarveiya is a Google Developer Expert for Kotlin. Prior to building Android apps, he was a Backend Engineer. He was an early adopter of Kotlin and absolutely loves the language. He has given many talks and workshops on Kotlin.

droidcon APAC is produced by:

Mobile Seasons GmbH (droidcon Global HQ)

Messedamm 22

14055, Berlin

Germany

.droidcon is a registered Trademark of Mobile Seasons GmbH

  • dc-social
  • Twitter - White Circle
  • Facebook - White Circle