code wiki / _hdl_build / nx_batt_chart.nx
nx_batt_chart.nx
buildroot/runtime/_hdl_build/nx_batt_chart.nx
about
nx_batt_chart.nx -- Generates an SVG bar chart showing monthly net financial outcomes under different scenarios.
dependencies 2 imports · 0 importers
imports: nx_gate_gn.nxnx_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
| 9 | const K_MAGIC_5000: i64 = 5000 |
| 10 | const K_MAGIC_7000: i64 = 7000 |
| 11 | const K_MAGIC_4802: i64 = 4802 |
| 12 | const K_MAGIC_1028: i64 = 1028 |
| 13 | const K_MAGIC_1548: i64 = 1548 |
| 14 | const K_MAGIC_2802: i64 = 2802 |
| 15 | const K_MAGIC_1816: i64 = 1816 |
functions
| 17 | func gp(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 19 | func ws(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 } |
| 21 | func wn(fd: i64, v0: i64) -> i64 |
| 34 | func bar(fd: i64, i: i64, v: i64, label: *u8) -> i64 |
| 52 | func main() -> i64 |