core: for/foreach -> Loop normalization (always-on); LoopForm MVP-3 per-segment reorder; smokes stabilized (VM + LLVM PHI); docs updated (macro-system, loopform); quiet macro load logs
This commit is contained in:
9
apps/macros/examples/for_foreach_macro.nyash
Normal file
9
apps/macros/examples/for_foreach_macro.nyash
Normal file
@ -0,0 +1,9 @@
|
||||
// for_/foreach_ normalization marker macro
|
||||
static box MacroBoxSpec {
|
||||
name() { return "ForForeach" }
|
||||
expand(json, ctx) {
|
||||
// Identity in Ny child; actual transform is handled by internal-child (Rust)
|
||||
return json
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user