code wiki / _hdl_build / nx_uigen_l3_gate.nx

nx_uigen_l3_gate.nx

buildroot/runtime/_hdl_build/nx_uigen_l3_gate.nx

7818 B157 linesdepth 4pulls 7 transitivereach 0 importersview sourcekind gate/prooftopic uigen
docsdependenciesstructsconstsfunctions

dependencies 3 imports · 0 importers

nx_gate_gn.nx nx_syscalls.nx nx_uigen_l3.nx nx_uigen_l3_gate.nx

imports: nx_gate_gn.nxnx_syscalls.nxnx_uigen_l3.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 gp sys_write l3_spec_from_seed l3_rng_next l3_choice l3_rng_next ↻ l3_emit_from_spec sk_open_site sk_head he_puts sk_header_open he_puts ↻ sk_nav_item he_puts ↻ sk_header_close he_puts ↻ l3_palette_style l3_accent_hue l1_tok he_puts ↻ l1_rgb l1_hsl_pack he_puts ↻ l1_put_u8 l3_style_mods l1_put_u8 ↻ sk_mkt_styles he_puts ↻ sk_hero he_puts ↻ l3_emit_section l3_sec_features sk_section_open he_puts ↻ sk_card he_puts ↻ sk_section_close he_puts ↻

structs

none

consts

none

functions

12func gp(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
13func litlen(lit: *u8) -> i64 { var n: i64=0; while lit[n]!=(0 as u8){n=n+1} return n }
called by 2: idxofcountof
14func idxof(buf: *u8, len: i64, lit: *u8) -> i64
called by 1: main calls 1: litlen
21func countof(buf: *u8, len: i64, lit: *u8) -> i64
called by 1: main calls 1: litlen
28func csum(p: i64) -> i64 { return (p/65536) + ((p/256)%256) + (p%256) }
called by 1: main
30func sec_marker(sec: i64) -> *u8
called by 1: main
40func main() -> i64