A Possible Vision for Macros in Swift

This is great!

Thanks for sharing your vision about this subject. I was pleasantly surprised about its depth.

After reading it the first thing that comes to mind is the lack of function support as ktoso mentioned here.

The way ktoso propose to do it would allow doing (Compile time support for Aspect-oriented programming, Prepitch: function wrappers, [Proposal/Pitch] Function decorators) pretty easily.

This would be nice to have.