code wiki / _hdl_build / nx_research_live_landscape.nx

nx_research_live_landscape.nx

buildroot/runtime/_hdl_build/nx_research_live_landscape.nx

2452 B53 linesdepth 6pulls 8 transitivereach 0 importersview sourcekind tooltopic research
docsdependenciesstructsconstsfunctions

about

nx_research_live_landscape.nx -- R5: the LIVE corroborated landscape. Reads the real multi-source text (/tmp/src0..2.txt from nx_multi_fetch), harvests claims from each with its source id, and renders the corroborated competitive landscape (Gartner-grade, exceeding it). Research-organ tree only. expect_exit: 0.

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_research_extract.nx nx_research_landscape.nx nx_research_live_landscape.nx

imports: nx_syscalls.nxnx_research_extract.nxnx_research_landscape.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 w sys_write load_harvest sys_mmap ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close w ↻ nx_rel_harvest sys_mmap ↻ rel_is_sent_end nx_rel_extract sys_mmap ↻ rel_find_cue rel_n_cues rel_cue re_find re_strlen re_strlen ↻ rel_is_stop rel_slice nx_claim_clean cl_clean_subject cl_copy_from_alpha cl_is_alnum sys_mmap ↻ cl_first_token cl_is_stopword cl_streq_ci cl_drop_first_token cl_strlen cl_copy_from_alpha ↻ cl_strlen ↻ sys_mmap ↻ cl_first_token ↻

structs

none

consts

9const K_MAGIC_1024: i64 = 1024
10const K_MAGIC_1048576: i64 = 1048576

functions

12func 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 2: load_harvestmain calls 1: sys_write
13func wn(v: i64) -> i64
called by 2: load_harvestmain calls 2: sys_mmapsys_write
23func load_harvest(path: *u8, src: i64, subjs: *i64, rels: *i64, objs: *i64, srcs: *i64, np: *i64, cap: i64) -> i64
32func main() -> i64