topic: macro
11 modules sharing the macro name family (derived from the tree's prefix discipline).
The 'macro' topic family in the Nishi sovereign ecosystem focuses on macro processing and control mechanisms within the NishiLang framework. Modules like nx_macro_argcap_probe manage argument limits and refusal logic, while nx_macro_axis_gate ensures backend ownership of target axes. nx_macro_nest_gate handles nested conditionals and arm selection, enabling complex control flow. Together, these modules support robust macro system testing, generative repetition, and conditional expansion, forming a cohesive foundation for macro-based development.
auto-narrated by the local model from this topic's module headers; links verified against the wiki index.
narrated overview -- maintained by the narration lane, module links verified against this wiki.
| module | description | lines | funcs |
|---|---|---|---|
| nx_macro_argcap_probe.nx | NEGATIVE CONTROL for the >8-argument macro refusal (debt 1785521154). | 33 | 2 |
| nx_macro_axis_gate.nx | mechanically prove the BACKEND-OWNED TARGET AXIS of the self-host | 116 | 12 |
| nx_macro_nest_gate.nx | NESTED conditional chains and @elif arm selection. | 86 | 13 |
| nx_macro_test.nx | exercise the new @macro preprocessor. | 87 | 5 |
| nx_macro_v2_test.nx | exercise multi-line {} bodies + $$ident gensym. | 112 | 7 |
| nx_macro_v3_test.nx | exercise @ifdef / @ifndef / @endif. | 107 | 8 |
| nx_macro_v4_test.nx | exercise auto-injected target defines + @undef. | 66 | 7 |
| nx_macro_v5_test.nx | exercise @for generative repetition. | 116 | 6 |
| nx_macro_v6_test.nx | exercise @if(expr) + @else + @elif. | 116 | 16 |
| nx_macro_v7_test.nx | exercise ${var} + @stringify + @concat. | 112 | 6 |
| nx_macro_v8_test.nx | exercise @for(x in {tok, tok, tok}) value-list iteration. | 112 | 6 |