code wiki / (root) / nx_econsim_app.nx

nx_econsim_app.nx

buildroot/runtime/nx_econsim_app.nx

17697 B117 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

nx_econsim_app.nx -- PLAYABLE in-browser Capitalism Lab client for /econsim. Organ-emitted (nx_vroom_html seam, no hand-written client); JS mirrors the gated nx_caplab_* organs. R5 multi-product portfolio + R6 cities/map (Expand) + R7 FINANCE (take loans up to a credit line, pay interest monthly, repay, go BANKRUPT if net worth sinks below your credit). license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_syscalls.nx nx_econsim_app.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_mmap ea sys_openat_wr sys_write sys_exit sys_close

structs

none

consts

9const EA_OUT: *u8 = "web_assets/econsim.html"
10const EA_CAP: i64 = 262144

functions

12func ea(dst: *u8, off: i64, s: *u8) -> i64
called by 1: main
19func main() -> i64