MoxyMoxy
Docs contents

: </a></h1> <ul> <li>Status: draft</li> <li>Author: <name></li> <li>Issue: <link></li> <li>Version: <release that ships it, once known></li> </ul> <h2 id="problem"><a class="anchor" href="#problem">Problem</a></h2> <p>What is hard or impossible today? Show real code, and what it costs the person writing it.</p> <h2 id="proposal"><a class="anchor" href="#proposal">Proposal</a></h2> <p>The new syntax or behavior, with the smallest examples that show every rule. State the grammar change if there is one.</p> <pre><code class="lang-c"><span class="t-c">// example</span></code></pre> <h2 id="generated-c"><a class="anchor" href="#generated-c">Generated C</a></h2> <p>What this compiles to, for the examples above. Name the emitted types and functions.</p> <pre><code class="lang-c"><span class="t-c">/* generated */</span></code></pre> <h2 id="compatibility"><a class="anchor" href="#compatibility">Compatibility</a></h2> <p>Does any existing valid C or Moxy program change meaning, or stop compiling? How would someone migrate?</p> <h2 id="cost"><a class="anchor" href="#cost">Cost</a></h2> <p>Effect on compile time, on generated code size and speed, and on the compiler's complexity.</p> <h2 id="tests"><a class="anchor" href="#tests">Tests</a></h2> <p>The tests that go with it, including ones that must fail to compile and the message they expect.</p> <h2 id="alternatives"><a class="anchor" href="#alternatives">Alternatives</a></h2> <p>What else was considered, and why this one.</p> <h2 id="limits"><a class="anchor" href="#limits">Limits</a></h2> <p>What this deliberately doesn't do.</p> </article> <nav class="pager" aria-label="Previous and next"><a class="prev" href="/docs/proposals/"><span class="label">Previous</span>Change process</a></nav> <p class="edit"><a href="https://github.com/moxylang/moxy/blob/main/docs/proposals/template.md">Edit this page on GitHub</a></p> </div> <nav class="toc" aria-label="On this page"><h2 class="label">On this page</h2><ul><li class="d2"><a href="#problem">Problem</a></li><li class="d2"><a href="#proposal">Proposal</a></li><li class="d2"><a href="#generated-c">Generated C</a></li><li class="d2"><a href="#compatibility">Compatibility</a></li><li class="d2"><a href="#cost">Cost</a></li><li class="d2"><a href="#tests">Tests</a></li><li class="d2"><a href="#alternatives">Alternatives</a></li><li class="d2"><a href="#limits">Limits</a></li></ul></nav> </div> </main> <footer class="foot"> <div class="wrap"> <p>Moxy 0.4.0. MIT licensed. This site is built from the repository's <code>docs/</code>.</p> <p class="links"><a href="https://github.com/moxylang/moxy">Source</a><a href="https://github.com/moxylang/moxy/releases">Releases</a><a href="https://github.com/moxylang/moxy/issues">Issues</a><a href="https://github.com/moxylang/moxy/blob/main/LICENSE">License</a></p> </div> </footer> <script type="module" src="/assets/site.a54d5fc9ce.js"></script> <script type="module" src="/assets/search.96fd3fac2d.js"></script> </body> </html>