AST Transform Magic Revealed

Ast Compile-time-metaprogramming Metaprogramming


Do you want to know how to to do compile-time meta-programming? Be one of the few who know how to manipulate code using AST Transforms? If the answer is yes this is the talk for you. I'm going to go through some examples showing you how to write AST Transforms, see the code they generate, and how to debug them. My examples don't make use of helper or macros, so the code in the presentation will be closer to the level of what the compiler creates. I think that seeing the lower level will give you a new appreciation for how the Groovy Compiler works, and you'll see that it is not really Magic, just code at a different level.


50 min