is there any documentation on the IR generation yo...
# compiler
m
is there any documentation on the IR generation you can do with compiler plugins? I've got the Ir before and after, but I don't quite know how to do the transformation. The naive way would be to use the embedded compiler, template code and extract the compiled IR, but I feel like there should be a simpler way to deal with it, especially considering I can't use libraries with the embedded compiler
s
What do you mean by "cannot use libraries with the embedded compiler"? The compiler plugin can use whatever libs you specify, either through maven deps or shadow jar
m
The example from https://blog.bnorm.dev/writing-your-second-compiler-plugin-part-1 shows how to test code, but because this runs on jvm I can't test it with cinterop classes and externally defined types