code wiki / _hdl_build / nx_wflow_loop_gate.nx

nx_wflow_loop_gate.nx

buildroot/runtime/_hdl_build/nx_wflow_loop_gate.nx

5557 B121 linesdepth 4pulls 6 transitivereach 0 importersview sourcekind gate/prooftopic wflow
docsdependenciesstructsconstsfunctions

about

nx_wflow_loop_gate.nx -- R11 LOOPS gate: for-each = apply-to-each over the connector plane. Step arg `<listexpr>~<template>`: the list substitutes ONCE (comma-split, 32-cap loud), then per item the engine binds {item} as a run variable, emits WFITER, substitutes the template, forks the connector. Any failed item fails the STEP (retry/on-fail machinery applies). Empty list = zero iterations, step OK. Proves the per-item argv actually varies (argecho), the last item persists as {item} for later steps, empty-list no-op, item failure fail-stops, load refusals. THREE forks. license_tier: ORIGINAL expect_exit: 0

dependencies 2 imports · 0 importers

nx_wflow_engine.nx nx_gate_verdict.nx nx_wflow_loop_gate.nx

imports: nx_wflow_engine.nxnx_gate_verdict.nx

imported by: nobody (leaf or entry point)

structs

none

consts

none

functions

10func lg_n(led: *u8, ridtok: *u8, st: *u8) -> i64
16func lg_row(conf: *u8, name: *u8, elf: *u8, flag: *u8) -> i64
31func main() -> i64