code wiki / _hdl_build / nx_brand_typescale_gate.nx

nx_brand_typescale_gate.nx

buildroot/runtime/_hdl_build/nx_brand_typescale_gate.nx

3209 B65 linesdepth 5pulls 9 transitivereach 0 importersview sourcekind gate/prooftopic brand
docsdependenciesstructsconstsfunctions

about

nx_brand_typescale_gate.nx -- R9 gate: the modular type-scale generator. A base+ratio yields a monotonic- descending heading scale (no-float) that lands in the R2 type-scale band BY CONSTRUCTION and feeds the token SSOT. 100% sovereign. expect_exit: 0

dependencies 5 imports · 0 importers

nx_syscalls.nx nx_sitegate_emit_lib.nx nx_brand_typescale.nx nx_brand_guard.nx nx_brand_tokens.nx nx_brand_typescale_gate.nx

imports: nx_syscalls.nxnx_sitegate_emit_lib.nxnx_brand_typescale.nxnx_brand_guard.nxnx_brand_tokens.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_mmap gw sys_write ts_emit_scale ts_emit_one bt_app sys_mmap ↻ ts_fmt_rem ts_put_int sys_mmap ↻ ts_size_milli ts_ipow sys_write ↻ g_has bt_find bt_len t_row gw ↻ ts_size_milli ↻ bg_type_scale_ok sys_mmap ↻ bt_lookup bt_len ↻ sys_mmap ↻ bt_slice_eq bg_num_milli inband9 bt_emit_root_buf bt_app ↻ sys_mmap ↻ bt_slice_eq ↻ bt_ident_safe bt_value_safe bt_find ↻ bt_app_n gn sys_mmap ↻ sys_write ↻

structs

none

consts

none

functions

11func g_has(s: *u8, n: i64, lit: *u8) -> i64 { if bt_find(s, n, lit, bt_len(lit)) >= 0 { return 1 } return 0 }
called by 1: main calls 2: bt_findbt_len
12func inband9(v: i64, lo: i64, hi: i64) -> i64 { if v < lo { return 0 } if v > hi { return 0 } return 1 }
called by 1: main
14func main() -> i64