:
- Status: draft
- Author:
- Issue:
- Version: <release that ships it, once known>
Problem
What is hard or impossible today? Show real code, and what it costs the person writing it.
Proposal
The new syntax or behavior, with the smallest examples that show every rule. State the grammar change if there is one.
// example
Generated C
What this compiles to, for the examples above. Name the emitted types and functions.
/* generated */
Compatibility
Does any existing valid C or Moxy program change meaning, or stop compiling? How would someone migrate?
Cost
Effect on compile time, on generated code size and speed, and on the compiler's complexity.
Tests
The tests that go with it, including ones that must fail to compile and the message they expect.
Alternatives
What else was considered, and why this one.
Limits
What this deliberately doesn't do.