code wiki / macro

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.

moduledescriptionlinesfuncs
nx_macro_argcap_probe.nxNEGATIVE CONTROL for the >8-argument macro refusal (debt 1785521154).332
nx_macro_axis_gate.nxmechanically prove the BACKEND-OWNED TARGET AXIS of the self-host11612
nx_macro_nest_gate.nxNESTED conditional chains and @elif arm selection.8613
nx_macro_test.nxexercise the new @macro preprocessor.875
nx_macro_v2_test.nxexercise multi-line {} bodies + $$ident gensym.1127
nx_macro_v3_test.nxexercise @ifdef / @ifndef / @endif.1078
nx_macro_v4_test.nxexercise auto-injected target defines + @undef.667
nx_macro_v5_test.nxexercise @for generative repetition.1166
nx_macro_v6_test.nxexercise @if(expr) + @else + @elif.11616
nx_macro_v7_test.nxexercise ${var} + @stringify + @concat.1126
nx_macro_v8_test.nxexercise @for(x in {tok, tok, tok}) value-list iteration.1126