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

Kotlin Compiler Plugin のワークフローを知る

tommykw
December 21, 2020

Kotlin Compiler Plugin のワークフローを知る

tommykw

December 21, 2020
Tweet

More Decks by tommykw

Other Decks in Programming

Transcript

  1. ,PUMJO$PNQJMFS1MVHJOΛ࡞ΔͨΊͷͭͷεςοϓ Kotlin Compiler Plugin - Write your own code transformer

    without dealing with bytecode By Jingbo Yang  (SBEMF1MVHJO  ,PUMJO$PNQJMFS1MVHJO  5SFF7JTJUPS
  2. ,PUMJO$PNQJMFS1MVHJO  $PNNBOE-JOF1SPDFTTPSɺ $PNQPOFOU3FHJTUSBSΛఆٛ ͢Δ  "OBMZTJT)BOEMFS&YUFOTJPOΛ հͯ͠ίʔυղੳ͢ΔͨΊͷ 5SFF7JTJUPSΛݺͼग़͢ 

    ղੳͨ͠಺༰Λ೚ҙͷܗʹม ߋ͠ɺ$PMMFDUJPO,U'JMFͱ ͯ͠౉͢ Kotlin Compiler Plugin - Write your own code transformer without dealing with bytecode By Jingbo Yang
  3. αϯϓϧͷ࡞੒ɾ࣮ߦεςοϓ  (SBEMF1MVHJOͷ࡞੒  ,PUMJO$PNQJMFS1MVHJOͷ࡞੒  $PNNBOE-JOF1SPDFTTPSͷ࡞੒  $PNQPOFOU3FHJTUSBSͷ࡞੒ 

    1MVHJO&YUFOTJPOͷ࡞੒  5SFF7JTJUPSͷ࡞੒  )FMMP8PSME1MVHJOͷQVCMJTIλεΫΛ࣮ߦ  )FMMP8PSME1MVHJO4BNQMFͷCVJMEλεΫΛ࣮ߦ  )FMMP8PSME1MVHJO4BNQMFͷ.BJOLUΛ࣮ߦ
  4. ࢀߟࢿྉ • Kotlin Compiler Plugin - Write your own code

    transformer without dealing with bytecode https://www.droidcon.com/media-detail? video=481164487 • Writing Kotlin Compiler Plugins with Arrow Meta https:// speakerdeck.com/heyitsmohit/writing-kotlin-compiler-plugins-with-arrow- meta?slide=172 • Kotlin metaprogramming with kotlinpoet https://kotlin.christmas/2020/14