code wiki / _hdl_build / nx_html_extract_data_test.nx

nx_html_extract_data_test.nx

buildroot/runtime/_hdl_build/nx_html_extract_data_test.nx

3251 B65 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind gate/prooftopic html
docsdependenciesstructsconstsfunctions

about

nx_html_extract_data_test.nx -- KAT: pull JSON-LD prose from HTML; then a REAL run on /tmp/cadhub_raw.html to show what rung-1 recovers (honest). expect_exit: 0.

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_research_extract.nx nx_html_extract_data.nx nx_html_extract_data_test.nx

imports: nx_syscalls.nxnx_research_extract.nxnx_html_extract_data.nx

imported by: nobody (leaf or entry point)

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

main sys_mmap w sys_write re_strlen nx_html_extract_data sys_mmap ↻ hed_field re_find re_strlen ↻ re_strlen ↻ hed_app hed_meta re_find ↻ chk w ↻ contains sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close wn sys_mmap ↻ sys_write ↻ sys_write ↻

structs

none

consts

none

functions

8func 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 2: chkmain calls 1: sys_write
9func wn(v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
18func contains(hay: *u8, hn: i64, ndl: *u8) -> i64
called by 1: main
24func chk(cond: i64, pass: *i64, fail: *i64, label: *u8) -> i64
called by 1: main calls 1: w
30func main() -> i64