https://kotlinlang.org logo
j

jw

10/22/2018, 9:38 PM
that specific use-case is on my radar and might be my pet project over the holidays. was thinking of using Android Lint's UAST infrastructure to do it at the source layer with source generation and a Gradle plugin to start with. It could be moved to a compiler plugin later.
🔥 4
j

jdemeulenaere

10/23/2018, 8:48 PM
If you take the time to create a base gradle plugin that we can extend to easily generate sources given an AST, I think it would be really useful for people who want to do Kotlin multiplatform metaprogramming (until compiler plugins API is officially supported). At least I'm definitely interested, so please keep me updated in case you do something like that 🙂
j

jw

10/23/2018, 8:49 PM
Good idea!
2 Views