code wiki / _hdl_build / nx_cms_blocks_team.nx

nx_cms_blocks_team.nx

buildroot/runtime/_hdl_build/nx_cms_blocks_team.nx

2169 B28 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind tooltopic cms
docsdependenciesstructsconstsfunctions

about

nx_cms_blocks_team.nx -- the TEAM authoring the BLOCK RENDERER core for the CMS arc (C11, no Claude logic). The table IS the block vocabulary (Gutenberg-class, as DATA): kind 1=p (rich, pre-sanitized -> raw), 2=h2, 3=h3 (escaped), 4=quote (rich -> raw), 5=img (two-slot src|alt, BOTH attribute-escaped). Per-kind markup lives nowhere but this table; adding a block kind = adding a row. Engineer verifies the emitted byte-exact KATs (incl. escape + unknown-kind refusal).

dependencies 2 imports · 0 importers

nx_pattern_emit12.nx nx_syscalls.nx nx_cms_blocks_team.nx

imports: nx_pattern_emit12.nxnx_syscalls.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 pe12_author_template_table sys_openat_wr pe12_emit_template_table pe_w sys_write pe12_slen pe_wn sys_mmap ↻ sys_write ↻ pe12_wq pe_w ↻ sys_mmap ↻ sys_close pe12_emit_template_table_t pe_w ↻ pe12_slen ↻ pe_wn ↻ pe12_wqbody pe_w ↻ sys_mmap ↻ cbt_w sys_write ↻ sys_exit

structs

none

consts

none

functions

9func cbt_w(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 }
called by 1: main calls 1: sys_write
11func main() -> i64