11/1/2023 0 Comments Kotlin compiler onlineGradle plugin which adds your plugin to Kotlin compiler classpath,.At least 3 modules are required if you want to support all Kotlin targets: There are a number pieces to a Kotlin compiler plugin. Part 6 - Support Libraries, Publishing, and Integration Testing.In later parts we will explore navigating and transforming Kotlin IR. In this first part we will go over the project setup required to build a compiler plugin. Inspired By Kevin Most’s 2018 KotlinConf talk - Writing Your First Kotlin Compiler Plugin - I wanted to show how we could write our second compiler plugin, something IR based that works on all Kotlin targets. I’ve been wanting to write this series of blog posts for a while. If official documentation exists, please refer to it first. As such, information contained in this article about IR and compiler plugins could be out-of-date or incorrect. At the time of writing this article, Kotlin compatibility for IR backend is in Alpha status and the compiler plugin API is Experimental.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |