code wiki / _hdl_build / nx_board.nx
nx_board.nx
buildroot/runtime/_hdl_build/nx_board.nx
about
nx_board.nx -- shared BASE CLASS for the _board organ family (10 organs, each rolling its own HTML page
scaffold + JSON envelope + atomic publish; worst nx_maturity_board = 70 local emit refs; NONE shared a base
until now). COMPOSES nx_estr (base-on-base: a board inherits the emit primitives es_cat/es_catn AND the
board scaffold here) -- the OO consolidation the atlas family census surfaced. Import this + emit a board in
a handful of calls instead of reimplementing the skeleton. license_tier: ORIGINAL No hw writes (Rule 26).
dependencies 2 imports · 1 importers
imports: nx_syscalls.nxnx_estr.nx
imported by: nx_board_gate.nx
structs
| none |
consts
| none |
functions
| 10 | func bd_page_open(buf: *u8, o: i64, title: *u8) -> i64 |
| 16 | func bd_page_close(buf: *u8, o: i64) -> i64 { return es_cat(buf, o, "</body></html>" as *u8) } |
| 18 | func bd_h(buf: *u8, o: i64, level: i64, text: *u8) -> i64 |
| 31 | func bd_json_open(buf: *u8, o: i64, domain: *u8, title: *u8) -> i64 |
| 40 | func bd_json_kvn(buf: *u8, o: i64, key: *u8, v: i64) -> i64 |
| 49 | func bd_write_atomic(path: *u8, buf: *u8, n: i64) -> i64 |