Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Arrow Meta 1o1

Arrow Meta 1o1

Introduction to Kotlin compiler plugins and Arrow Meta library

Fernando Franco Gíraldez

December 01, 2021
Tweet

More Decks by Fernando Franco Gíraldez

Other Decks in Programming

Transcript

  1. Meta \ Aspect Programing ▸ Define Point Cut via Annotations

    ▸ Isolated Aspect on Join Point ▸ Final code is a mix of both ▸ Common usage for Logging 5
  2. Meta \ Annotation Processing Tool ▸ Generate Java Code ▸

    Validate Code ▸ Cannot modify existing code ▸ Multiple Compilation Rounds ▸ Based on Abstract Syntax Tree 6
  3. 17

  4. 18

  5. Resources ▸ KotlinConf 2018 - Writing Your First Kotlin Compiler

    Plugin by Kevin Most ▸ The Shape of Kotlin, Amanda Hinchman-Dominguez ▸ Kotlin-Compiler-Crash-Course ▸ Arrow Meta Github repository ▸ Lambda World 2019 - Arrow Meta - Enabling Functional Programming in the Kotlin Compiler ▸ KotlinConf 2019: Keep insisting! by Amanda Hinchman-Dominguez & Raquel M. Carmena 20