code wiki / _hdl_build / nx_fwdref_probe.nx

nx_fwdref_probe.nx

buildroot/runtime/_hdl_build/nx_fwdref_probe.nx

539 B11 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind probe
docsdependenciesstructsconstsfunctions

about

Does nx_cc accept a FORWARD REFERENCE (caller defined BEFORE callee)? This decides whether the gzip wiring can be ONE atomic edit (wrapper placed before the renamed body) or must be two edits with a window where the tree does not compile. Cheap experiment, throwaway target.

dependencies 1 imports · 0 importers

nx_syscalls.nx nx_fwdref_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 fr_caller fr_callee sys_exit

structs

none

consts

none

functions

5func fr_caller(x: i64) -> i64 { return fr_callee(x) + 1 }
called by 1: main calls 1: fr_callee
6func fr_callee(x: i64) -> i64 { return x * 2 }
called by 1: fr_caller
7func main(argc: i64, argv: *i64) -> i64