Files
hakorune/apps/macros/examples/loop_normalize_macro.nyash

14 lines
341 B
Plaintext
Raw Normal View History

// loop_normalize_macro.nyash
// MVP: identity expansion with (json, ctx) signature.
// Next steps: normalize `loop(cond){ body }` into carrier-based LoopForm.
static box MacroBoxSpec {
static function name() { return "LoopNormalize" }
static function expand(json, ctx) {
// For MVP, return input unchanged.
return json
}
}