code wiki / (root) / nx_visual_novel_test.nx

nx_visual_novel_test.nx

buildroot/runtime/nx_visual_novel_test.nx

4674 B118 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind gate/prooftopic visual
docsdependenciesstructsconstsfunctions

about

nx_visual_novel_test.nx -- VN0 KAT: the engine's ops, branching, vars, determinism, and chaos-user invariants, against the demo story whose pc layout is FIXED (asserted here). Exit = failing assertion number; 0 + marker = green. license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_visual_novel.nx nx_visual_novel_test.nx

imports: nx_syscalls.nxnx_visual_novel.nx

imported by: nobody (leaf or entry point)

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

main vt_fresh nx_vn_init sys_mmap nx_vn_build_demo_story sys_mmap ↻ vn_emit_say vn_emit_choice2 vn_emit_add vn_emit_jump vn_emit_ifgoto vn_emit_end nx_vn_new sys_mmap ↻ vn_settle nx_vn_kind nx_vn_ended nx_vn_var nx_vn_advance nx_vn_kind ↻ vn_settle ↻ nx_vn_state_hash nx_vn_choose nx_vn_kind ↻ nx_vn_op_field vn_settle ↻ nx_vn_op_field ↻ nx_vn_action nx_vn_advance ↻ nx_vn_choose ↻ vn_settle ↻ vt_puts sys_write

structs

none

consts

none

functions

9func vt_puts(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 vt_fresh() -> *i64 { return nx_vn_init() }
called by 1: main calls 1: nx_vn_init
13func main() -> i64