nx_font_gen_census.nx
buildroot/runtime/nx_font_gen_census.nx
about
nx_font_gen_census.nx -- what does "S-CLASS EXCEED" mean for a FONT GENERATOR + ALL LANGUAGES? (operator asked
to use the researcher to define it). Grounded in the Nishi researcher's banked fg_*.raw (Metafont, Variable_font,
FontForge, Noto, Unicode, CJK/Han, Arabic, Devanagari, HarfBuzz). THE BAR (defined here): a SOVEREIGN PARAMETRIC
font GENERATOR that emits VARIABLE, pan-Unicode fonts with complex-script SHAPING -- matching Noto's coverage +
fontTools/HarfBuzz capability, but sovereign (no toolchain dependency) + reproducible. Honest map of where we are
after R0-R3 (a minimal sovereign TTF emitter + a parametric stroke seed). ABSENT cells = the generator+language
ladder. GROUNDED FACT: Unicode 17.0 encodes 101,000+ Han characters ALONE (fg_unicode.raw). license_tier: ORIGINAL expect_exit: 0
dependencies 1 imports · 0 importers
imports: nx_syscalls.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
| 10 | const G_ABSENT: i64 = 0 |
| 11 | const G_PRESENT: i64 = 1 |
| 12 | const G_PARITY: i64 = 2 |
| 13 | const G_EXCEEDS: i64 = 3 |
functions
| 15 | func sw(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 sn(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 as u8;k=1} while m>0{t[k]=(48+(m%10)) as u8;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 } |
| 18 | func grade_name(g: i64) -> i64 |
| 25 | func cap_valid(grade: i64, has_ev: i64) -> i64 { if grade >= G_PARITY { if has_ev == 0 { return 0 } } return 1 } |
| 26 | func row(p: *u8, cap: *u8, grade: i64, base: *u8, ev: *u8, has_ev: i64, tot: *i64) -> i64 |
| 35 | func main() -> i64 |