code wiki / _hdl_build / nx_store_query.nx

nx_store_query.nx

buildroot/runtime/_hdl_build/nx_store_query.nx

6888 B212 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind tooltopic store
docsdependenciesstructsconstsfunctions

about

nx_store_query.nx -- the FRONT DOOR to the sovereign information store (knowledge/store/im-*). Pure NishiLang, NO SQL -- the operator's queryable interface to the team's own substrate: get <key> latest record state (FOUND + printable dump / GONE / ABSENT) term <word> full-text term search, current-state semantics and <w1> <w2>..multi-term AND search (up to 8 terms, postings-driven intersection, same current-state semantics) hist <key> every stored version, oldest -> newest (the time-travel surface) histall <key> FULL history incl. compaction-archived segments (labeled) compact fold live segments (also the FORMAT-UPGRADE path: old segments without .terms become searchable after compaction) license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_seg_store.nx nx_store_query.nx

imports: nx_syscalls.nxnx_seg_store.nx

imported by: nobody (leaf or entry point)

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

main sq_p sys_write sq_streq ss_compact ss_plane_lock sys_mmap nxa_die sys_write ↻ sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ ss_cat sys_openat_append sys_write ↻ sys_flock ss_catn sys_mmap ↻ sys_close sys_sleep_ms sys_mmap ↻ sys_munmap sys_mmap ↻ ss_manifest_dyn ss_manifest_file_dyn sys_mmap ↻ ss_cat ↻ ss_readall sys_openat_rd sys_lseek sys_mmap ↻

structs

none

consts

none

functions

17func sq_p(s: *u8) -> i64
called by 1: main calls 1: sys_write
24func sq_pn(v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
38func sq_streq(a: *u8, b: *u8) -> i64
called by 1: main
49func sq_dump(p: *u8, n: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
63func main(argc: i64, argv: *i64) -> i64