code wiki / _hdl_build / nx_ereader_spec_synth.nx

nx_ereader_spec_synth.nx

buildroot/runtime/_hdl_build/nx_ereader_spec_synth.nx

4012 B64 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

nx_ereader_spec_synth.nx -- the team SYNTHESIZES the S-class e-reader spec from its OWN cataloged research (knowledge/research/2026-06-05-sovereign-ereader.md, ingested). Runs the mechanized layered synthesis (nx_spec_layers) over the 5 e-reader layers with the 3-vote corroboration counts, producing a build-ordered spec and flagging the layer with 0 corroborated evidence (comic PANEL guided-view) as a RAISED HAND. Exit 0 iff the synthesis is correct + honest.

dependencies 2 imports · 0 importers

nx_spec_layers.nx nx_syscalls.nx nx_ereader_spec_synth.nx

imports: nx_spec_layers.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 tp sys_write sys_mmap ss_build_rank ss_order_build sys_mmap ↻ ss_status tn sys_mmap ↻ sys_write ↻ lname ss_count_gaps ss_status ↻ ss_exceed_by_unification ss_spec_admissible ss_count_gaps ↻ sys_exit

structs

none

consts

none

functions

9func tp(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
10func tn(v: i64) -> i64 { let bb: *u8=sys_mmap(28); var m: i64=v; if m<0{m=0-m;sys_write(1,"-" as *u8,1)}; let t: *u8=sys_mmap(28); var k: i64=0; if m==0{t[0]=48;k=1}; while m>0{t[k]=48+(m%10);m=m/10;k=k+1}; var i: i64=0; while i<k{bb[i]=t[k-1-i];i=i+1}; sys_write(1,bb,k); return 0 }
called by 1: main calls 2: sys_mmapsys_write
12func lname(i: i64) -> *u8
called by 1: main
20func main() -> i64