code wiki / _hdl_build / nx_codewiki.nx
nx_codewiki.nx
buildroot/runtime/_hdl_build/nx_codewiki.nx
about
nx_codewiki.nx -- CLI for the code wiki generator (logic in nx_codewiki_lib.nx,
split so the gate can import the lib -- a module owning main() cannot be
imported by a second entry point, per the nx_gatelib lesson).
nx_codewiki [srcroot] [outdir] [noext]
defaults: srcroot=runtime outdir=_codewiki linkmode=.html
3rd arg literal "noext" emits extensionless hrefs (the edge's canonical
clean-URL form; use for NAS deploys -- local file browsing wants .html)
license_tier: ORIGINAL
dependencies 6 imports · 0 importers
imports: nx_syscalls.nxnx_itoa_lib.nxnx_eco_graph.nxnx_gatelib.nxnx_import_scan.nxnx_codewiki_lib.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
| 17 | const K_MAGIC_1024: i64 = 1024 |
functions
| 19 | func cwm_w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 24 | func cwm_n(v: i64) -> i64 { nxi_out(v); return 0 } calls 1: nxi_out |
| 26 | func main(argc: i64, argv: *i64) -> i64 |