In my adventure with the swift compiler something that caught my attention and desire to implement is Virtualized Abstract Syntax Trees (ASTs) in future directions of result builder.
I decided to try and I managed to successfully implement buildVirtualFor. So I was wondering if that's something still on the table and worth pursuing.

@John_McCall @Douglas_Gregor as the original authors do you have insight on this? Thanks!

9 Likes

I think now we’d probably want to do that by finding a way to make the builder invoke a macro.

3 Likes