Hello Swift community,
The review of SE-0382: "Expression Macros" begins now and runs through December 30, 2022.
For context beyond the pitch threads linked in the proposal, there is a prospective vision document which has itself been pitched and is under consideration with the language workgroup. And, as noted in this proposal, a companion proposal will be put forward at a later time regarding the process of building macros generally and Swift package manager–related changes. For now, there is an example repository showing how to build your own expression macro without those package manager features.
As the holidays approach, we're mindful that there will be some for whom now is the time to wind down from Swift-related matters. Please rest assured, if you're in that category, that we expect ample opportunity to provide feedback on this feature going forward. However, we know that there are others for whom this time of year provides unique opportunities to experiment with new features, and for that reason, we felt it'd be important to make this proposal and its implementation available now.
Reviews are an important part of the Swift evolution process. All review feedback should be either on this forum thread or, if you would like to keep your feedback private, directly to the review manager via the forum messaging feature. When contacting the review manager directly, please keep the proposal link at the top of the message.
The goal of the review process is to improve the proposal under review through constructive criticism and, eventually, determine the direction of Swift. When writing your review, here are some questions you might want to answer in your review:
- What is your evaluation of the proposal?
- Is the problem being addressed significant enough to warrant a change to Swift?
- Does this proposal fit well with the feel and direction of Swift?
- If you have used other languages or libraries with a similar feature, how do you feel that this proposal compares to those?
- How much effort did you put into your review? A glance, a quick reading, or an in-depth study?
More information about the Swift evolution process is available at