nx_mmdev.nx
buildroot/runtime/nx_mmdev.nx
about
nx_mmdev.nx -- CLI for the millimetre surface-deviation ruler (PG4, procgen.plan, 2026-08-24).
nx_mmdev <ours.nxmesh> <reference.nxmesh> -> JSON, both directions, units are TENTHS of a millimetre.
Exit 0 measured / 2 usage / 3 unreadable / 4 REFUSED extent bound (a subject over 2.5 m would overflow
the integer point-triangle test, and the ruler declines rather than reporting garbage) / 5 empty mesh.
Thin main: every function lives in nx_mmdev_lib so nx_mmdev_gate composes it in-process.
license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_itoa_lib.nxnx_mmdev_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
| none |
functions
| 12 | func mm_w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 13 | func mm_kv(k: *u8, v: i64, last: i64) -> i64 |
| 18 | func mm_dir(tag: *u8, res: *i64) -> i64 |
| 31 | func main(argc: i64, argv: *i64) -> i64 |