code wiki / _hdl_build / nx_pattern_emit4_demo.nx

nx_pattern_emit4_demo.nx

buildroot/runtime/_hdl_build/nx_pattern_emit4_demo.nx

1126 B22 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind sketch/demotopic pattern
docsdependenciesstructsconstsfunctions

about

nx_pattern_emit4_demo.nx -- the TEAM authoring PARSER_KAT + GOVERNOR cores (no Claude logic). _pe_num = the registry-scan/claim-extract decimal parser. _pe_crawl = the polite-crawl governor with the REAL pacing spec (1500ms min gap between same-host hits, 500ms backoff base doubling to an 8s cap).

dependencies 2 imports · 0 importers

nx_pattern_emit4.nx nx_syscalls.nx nx_pattern_emit4_demo.nx

imports: nx_pattern_emit4.nxnx_syscalls.nx

imported by: nobody (leaf or entry point)

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

main pe4_author_parser sys_openat_wr pe4_emit_parser pe_w sys_write sys_close pe4_emit_parser_test pe_w ↻ pe4_author_governor sys_openat_wr ↻ pe4_emit_governor pe_w ↻ pe_wn sys_mmap sys_write ↻ sys_close ↻ pe4_emit_governor_test pe_w ↻ pe_wn ↻ p4_w sys_write ↻ sys_exit

structs

none

consts

6const K_MAGIC_1500: i64 = 1500
7const K_MAGIC_8000: i64 = 8000

functions

9func p4_w(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 }
called by 1: main calls 1: sys_write
11func main() -> i64