code wiki / (root) / nx_concat_probe.nx

nx_concat_probe.nx

buildroot/runtime/nx_concat_probe.nx

1336 B40 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind probe
docsdependenciesstructsconstsfunctions

about

nx_concat_probe.nx -- minimal @concat / @stringify repro, isolated from v7's ${$$counter} case. ORDERING IS THE POINT: @concat(prefix, _double_x) must see `prefix` ALREADY replaced by `foo`, or it pastes the PARAMETER NAME and emits `prefix_double_x` -- a function nobody called. The fixed-point loop provides that for free: pass N substitutes, pass N+1 splices. expect_exit: 0 license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_syscalls.nx nx_concat_probe.nx

imports: nx_syscalls.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main cp_w sys_write cp_label

structs

none

consts

none

functions

10func cp_w(s: *u8) -> i64
called by 1: main calls 1: sys_write
30func cp_label() -> *u8 { return @stringify(my_symbol) as *u8 }
called by 1: main
32func main() -> i64
calls 2: cp_wcp_label