code wiki / _hdl_build / nx_doc_demo_subject.nx

nx_doc_demo_subject.nx

buildroot/runtime/_hdl_build/nx_doc_demo_subject.nx

623 B12 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind sketch/demotopic doc
docsdependenciesstructsconstsfunctions

about

nx_doc_demo_subject.nx -- a DELIBERATELY broken subject for dogfooding the Doctor's autonomous heal on the REAL toolchain (not a synthetic KAT string). It reassigns an immutable `let` binding -> the compiler silently emits an empty .s = the #1 crash this session. nx_doc_autoheal_apply heals it (let acc -> var acc); the healed twin compiles + runs green. This file is EXPECTED to fail to build; that failure is the demo's starting state.

dependencies 1 imports · 0 importers

nx_syscalls.nx nx_doc_demo_subject.nx

imports: nx_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_write

structs

none

consts

none

functions

7func main() -> i64
calls 1: sys_write