code wiki / _hdl_build / nx_pdf_reflow.nx
nx_pdf_reflow.nx
buildroot/runtime/_hdl_build/nx_pdf_reflow.nx
about
nx_pdf_reflow.nx -- KAT GATE for the sovereign PDF -> reflowable-mobile-HTML pipeline (_pdf_reflow_lib.nx).
Library arc R3 ("PDFs readable on mobile"). The pipeline lives in _pdf_reflow_lib (shared with the live
/reflow route in nx_media_server). This gate proves it: a hand-built KAT PDF + image-only negative controls
+ an optional REAL PDF at /tmp/in.pdf (-> /tmp/out.reflow.html + a text preview). No hardware writes (Rule 26).
license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_itoa_lib.nx_pdf_reflow_lib.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 9 | const K_MAGIC_4194304: i64 = 4194304 |
functions
| 11 | func pr_p(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 16 | func pr_n(v: i64) -> i64 { nxi_out(v); return 0 } |
| 18 | func main() -> i64 |