code wiki / _hdl_build / nx_eco_dashboard.nx
nx_eco_dashboard.nx
buildroot/runtime/_hdl_build/nx_eco_dashboard.nx
about
nx_eco_dashboard.nx -- the LIVING ECOSYSTEM DASHBOARD for the Nishi wiki (operator: "backlog + roadmap onto
the wiki, built live, with a callout mapping on a GRAPH from the hardware layer up, with Nishi visuals, how
our FOOTPRINT is reducing and where the OPPORTUNITIES are as we prioritize the backlog"). DATA-DRIVEN +
sovereign emit (inline SVG, no libs): a vertical STACK GRAPH L0(machine code) -> L9(app), each layer's bar
width = maturity, color = grade, with gold OPPORTUNITY callouts on the keystones/raised-hands; a FOOTPRINT
panel (external deps retired over the arc + the Claude-load trend); an OPPORTUNITIES panel (highest-leverage
next moves). Re-encode the grades (Auditor/Compliance re-measure) -> re-run -> living. license_tier: ORIGINAL
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
| 16 | const NLY: i64 = 8 |
functions
| 10 | func dw(fd: i64, s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(fd,s,n); return n } |
| 11 | func dn(fd: i64, v: i64) -> i64 { let b: *u8=sys_mmap(28); var m: i64=v; 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{b[i]=t[k-1-i];i=i+1}; sys_write(fd,b,k); return 0 } |
| 13 | func g_label(g: i64) -> *u8 { if g==1 {return "TOY" as *u8} if g==2 {return "FUNCTIONAL" as *u8} if g==3 {return "PRODUCTION" as *u8} if g==4 {return "S-CLASS" as *u8} if g>=5 {return "EXCEED" as *u8} return "ABSENT" as *u8 } called by 1: main |
| 14 | func g_color(g: i64) -> *u8 { if g<=1 {return "#b3261e" as *u8} if g==2 {return "#b9770e" as *u8} if g==3 {return "#13315c" as *u8} if g==4 {return "#1e7d34" as *u8} return "#B68A35" as *u8 } called by 1: main |
| 18 | func main() -> i64 |