nx_erotica_store.nx
buildroot/runtime/nx_erotica_store.nx
about
nx_erotica_store.nx -- SEED the erotica craft DATA into the sovereign nx_seg_store, IDIOMATICALLY:
ss_begin -> ss_add -> ss_commit (writes seg-0 + manifest, crash-safe); read back via ss_open/ss_hget. The seed
data is EMBEDDED here (this organ IS the migration source-of-truth, like a DB migration's INSERTs), so there are
NO loose .tsv/.list files ANYWHERE -- the STORE is the runtime source and nx_erotica_craft reads it. Operator
2026-07-01: "no tsv/logs, use our nishi ecosystem, s-class-exceed." NO 3rd-party. Data-driven at runtime (craft
reads the store); the literals here are the one-time seed, tunable by editing + re-seeding.
expect_exit: 0 license_tier: ORIGINAL module: nishi-core.erotica.store
dependencies 2 imports · 0 importers
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
structs
| none |
consts
| none |
functions
| 11 | func es_puts(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 12 | func es_num(v: i64) -> i64 { let d: *u8=sys_mmap(24); var m: i64=v; var k: i64=0; if m==0 { d[0]=48 as u8; k=1 } while m>0 { d[k]=(48+(m%10)) as u8; m=m/10; k=k+1 } let o: *u8=sys_mmap(24); var i: i64=0; while i<k { o[i]=d[k-1-i]; i=i+1 } sys_write(1,o,k); return 0 } |
| 13 | func es_slen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n } called by 1: es_put |
| 14 | func es_put(w: *i64, key: *u8, val: *u8) -> i64 { ss_add(w, 1, key, val, es_slen(val)); es_puts(" put " as *u8); es_puts(key); es_puts(" (" as *u8); es_num(es_slen(val)); es_puts("B)\n" as *u8); return 1 } |
| 16 | func main() -> i64 |