nx_render_cli.nx
buildroot/runtime/nx_render_cli.nx
about
nx_render_cli.nx -- native ASCII visualization engine.
Per user 2026-05-15: "build the visual in cli, browser, etc it
should be native".
CLI side: ASCII bar chart, ASCII line plot, ASCII matrix display.
Pure stdout writes via println(). No ncurses, no termcap, no
external lib -- works in any 80-col terminal.
dependencies 1 imports · 1 importers
imports: nx_kernel_v2.nx
imported by: nx_capabilities_test.nx
structs
| none |
consts
| 18 | const NX_RENDER_BAR_MAX: nx_int = 60 |
| 19 | const NX_RENDER_PLOT_W: nx_int = 60 |
| 20 | const NX_RENDER_PLOT_H: nx_int = 20 |
functions
| 23 | func nx_render_max(values: *nx_int, n: nx_int) -> nx_int |
| 36 | func nx_render_min(values: *nx_int, n: nx_int) -> nx_int called by 1: nx_render_line |
| 51 | func nx_render_bar_row(label: nx_int, value: nx_int, max_v: nx_int) -> nx_int called by 1: nx_render_bar |
| 66 | func nx_render_bar(values: *nx_int, n: nx_int) -> nx_int |
| 85 | func nx_render_line(values: *nx_int, n: nx_int) -> nx_int |
| 139 | func nx_render_matrix(data: *nx_int, rows: nx_int, cols: nx_int) -> nx_int |