~/talk

Writing Kotlin Compiler Plugins with Arrow Meta

speakerdeck:heyitsmohit
slides:none on file

Arrow Meta provides a functional API to hook into Kotlin’s parsing, analysis, resolution and IR phases and actually build plugins that run: examples include a hello world plugin that injects a println, a debugLog annotation plugin that wraps functions with timing/logging code and a generator that writes a separate adapter file. Tests use Arrow Meta’s meta-testing module with compilerTest.assertThis. Also demonstrated are composing transforms, implementing a custom type checker (overriding isSubtypeOf/equals) and an IDE line‑marker plugin; each example compiles and produces the described output.

AI-written summary · about

  1. 0:00Introduction to Arrow Meta
  2. 3:24Compiler plugin basics
  3. 5:34Hello world plugin example
  4. 13:26Logging plugin with annotations
  5. 20:51Testing compiler plugins
  6. 24:04Combining transformations
  7. 27:55Removing and generating sources
  8. 31:51Custom type checking
  9. 35:03IDE plugins for developer experience
  10. 38:56Resources and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.