[Pitch] Declaration macros

Hey all,

It's become very clear to me that this "declaration macros" pitch is really two separate proposals rolled into one, so I've gone ahead and split this document into two separate proposals that we can iterate on:

  • Freestanding macros covers the "freestanding" case, generalizing the # syntax to also introduce declarations and code items.
  • Attached macros covers the "attached" case, using the custom attribute syntax to introduce peers/members/etc.

Both proposals have been filled out with more details based on the discussion here, although we have more feedback to address.

Doug

13 Likes