code wiki / (root) / nx_parse_lex_gate.nx

nx_parse_lex_gate.nx

buildroot/runtime/nx_parse_lex_gate.nx

3708 B87 linesdepth 3pulls 4 transitivereach 0 importersview sourcekind gate/prooftopic parse
docsdependenciesstructsconstsfunctions

about

nx_parse_lex_gate.nx -- REFEREE for nx_parse_lex. [T1] px_pack_lines packs newline terms, skips blank lines, strips \r. [T2] px_pack_weighted parses "term weight" into packed terms + weights. Sovereign x86_64. Exit 0/1. -> knowledge/status/parse_lex_gate.log

dependencies 2 imports · 0 importers

nx_syscalls_x86_64.nx nx_parse_lex.nx nx_parse_lex_gate.nx

imports: nx_syscalls_x86_64.nxnx_parse_lex.nx

imported by: nobody (leaf or entry point)

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

main sys_openat_append gp px_pack_lines slen pr_kv gp ↻ gn pr_streq gp ↻ streq at px_pack_weighted

structs

none

consts

none

functions

8func gp(logfd: i64, s: *u8) -> i64
called by 3: pr_kvpr_streqmain
15func gn(logfd: i64, v: i64) -> i64
called by 1: pr_kv
29func slen(s: *u8) -> i64
called by 1: main
34func streq(a: *u8, b: *u8) -> i64
called by 1: pr_streq
40func at(p: *u8, off: i64) -> *u8 { return (p as i64 + off) as *u8 }
called by 1: main
41func pr_kv(logfd: i64, label: *u8, got: i64, exp: i64) -> i64
called by 1: main calls 2: gpgn
46func pr_streq(logfd: i64, label: *u8, got: *u8, exp: *u8) -> i64
called by 1: main calls 2: gpstreq
52func main() -> i64