code wiki / _hdl_build / nx_zerodt_extract.nx

nx_zerodt_extract.nx

buildroot/runtime/_hdl_build/nx_zerodt_extract.nx

2986 B60 linesdepth 4pulls 5 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

nx_zerodt_extract.nx -- SOVEREIGN render+extract half of the zero-downtime/live-update research (operator 2026-06-18: "nishi researcher this to see where all the gaps are happening"). Reads the raw HTTP responses from nx_zerodt_fetch, strips headers, renders HTML->text (nx_html_to_text), saves the text, runs ce_extract. expect_exit: 0 license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_claim_extract.nx nx_html_to_text.nx nx_zerodt_extract.nx

imports: nx_syscalls.nxnx_claim_extract.nxnx_html_to_text.nx

imported by: nobody (leaf or entry point)

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

main ze_puts sys_write render_one sys_mmap ce_read_file sys_openat_rd sys_read sys_close ze_puts ↻ nx_html_to_text nx_html_to_text_x h2t_state_new sys_mmap ↻ sys_mmap ↻ h2t_scan_tag h2t_skip_to_gt h2t_scan_name h2t_is_name h2t_is_block_tag h2t_name_eq_lit h2t_lc h2t_lc ↻ h2t_is_suppress_tag h2t_name_eq_lit ↻ h2t_emit_newline h2t_name_eq_lit ↻ h2t_emit_raw h2t_find_href h2t_lc ↻ h2t_is_name ↻ h2t_decode_entity h2t_decode_numeric h2t_is_name ↻ nx_html_entity_lookup h2t_emit_codepoint h2t_emit_text_byte h2t_is_ws h2t_emit_text_byte ↻ sys_munmap

structs

none

consts

8const K_MAGIC_4194304: i64 = 4194304
9const K_MAGIC_4194303: i64 = 4194303

functions

11func ze_puts(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: render_onemain calls 1: sys_write
12func ze_putn(v: i64) -> i64
called by 1: render_one calls 2: sys_mmapsys_write
21func render_one(raw_path: *u8, txt_path: *u8) -> i64
50func main() -> i64