code wiki / wasm
topic: wasm
115 modules sharing the wasm name family (derived from the tree's prefix discipline).
WebAssembly tooling: emitting and handling WASM for the browser-delivered experiences. Operationally gated at the moment — the domain-wide CSP deliberately blocks WASM execution on the public edge, so browser-facing work ships as plain JS while this family serves the build-side and experimentation.
narrated overview -- maintained by the narration lane, module links verified against this wiki.
| module | description | lines | funcs |
|---|---|---|---|
| nx_wasm.nx | nx_wasm.nx F618 wasm-SIMD FLIP (2026-07-21, landed from the proven rung-1 twin nx_wasm_v128.nx). | 1091 | 35 |
| nx_wasm_2048.nx | the SECOND sovereign browser game genre: a 2048 sliding-tile PUZZLE, pure-Nishi NO-FLOAT, | 204 | 23 |
| nx_wasm_2048_gate.nx | native verify of the 2048 puzzle (base-relative; same code runs in wasm). Tests the | 71 | 7 |
| nx_wasm_adventure.nx | BROWSER-PLAYABLE sovereign Adventure: BASE-RELATIVE integer core, runs native (-> PNG) | 99 | 13 |
| nx_wasm_adventure_gate.nx | 67 | 3 | |
| nx_wasm_adventure_html.nx | SOVEREIGN packager: the Adventure wasm -> a self-contained playable .html. | 31 | 2 |
| nx_wasm_arcade.nx | the CORRECTED sovereign browser game: BASE-RELATIVE integer arcade. The SAME code | 120 | 12 |
| nx_wasm_arcade_gate.nx | verifies the BASE-RELATIVE arcade NATIVELY (base = mmap), which is the SAME | 39 | 3 |
| nx_wasm_arcade_html.nx | SOVEREIGN packager for the integer arcade wasm -> self-contained playable .html. | 35 | 2 |
| nx_wasm_breeders.nx | NISHI BREEDERS, SOVEREIGN. The whole game -- world, characters, animation, | 783 | 61 |
| nx_wasm_breeders_gate.nx | verifies the SOVEREIGN breeders build NATIVELY. There is no browser here, | 155 | 4 |
| nx_wasm_call_count_gate_t143.nx | Independent negative review of the private WAT call operand change. | 72 | 3 |
| nx_wasm_call_operands_t143.nx | nx_wasm.nx F618 wasm-SIMD FLIP (2026-07-21, landed from the proven rung-1 twin nx_wasm_v128.nx). | 1091 | 35 |
| nx_wasm_call_simd_gate_t143.nx | Reuse existing SIMD differential probe, execute final private backend output. | 47 | 1 |
| nx_wasm_charlab.nx | CHARLAB: the COMPOSED character surface (Elara bar E2+E3+E4+E5 in ONE interactive | 354 | 30 |
| nx_wasm_charlab_gate.nx | gate for CHARLAB (the composed character surface: skeleton+morph-era organs | 256 | 5 |
| nx_wasm_charlab_html.nx | SOVEREIGN packager for CHARLAB (the composed character-tech surface). JS is | 30 | 2 |
| nx_wasm_city.nx | BROWSER-PLAYABLE sovereign City-Building: BASE-RELATIVE integer core, runs native (-> PNG) | 140 | 17 |
| nx_wasm_city_gate.nx | 102 | 3 | |
| nx_wasm_city_html.nx | SOVEREIGN packager: the City-Building wasm -> a self-contained playable .html. JS | 31 | 2 |
| nx_wasm_craft.nx | NISHI CRAFT: a GENERATED 3D VOXEL WORLD, playable first-person. The operator's | 4674 | 147 |
| nx_wasm_craft_body_t137.nx | NISHI CRAFT: a GENERATED 3D VOXEL WORLD, playable first-person. The operator's | 4740 | 162 |
| nx_wasm_craft_contact_candidate.nx | NISHI CRAFT: a GENERATED 3D VOXEL WORLD, playable first-person. The operator's | 4681 | 136 |
| nx_wasm_craft_dunes_t70.nx | NISHI CRAFT: a GENERATED 3D VOXEL WORLD, playable first-person. The operator's | 4751 | 166 |
| nx_wasm_craft_gait_candidate.nx | NISHI CRAFT: a GENERATED 3D VOXEL WORLD, playable first-person. The operator's | 4671 | 135 |
| nx_wasm_craft_gait_candidate_t139.nx | NISHI CRAFT: a GENERATED 3D VOXEL WORLD, playable first-person. The operator's | 4751 | 164 |
| nx_wasm_craft_gate.nx | verifies the GENERATED 3D WORLD natively (same base-relative code the | 4192 | 7 |
| nx_wasm_craft_imported_body_t41.nx | NISHI CRAFT: a GENERATED 3D VOXEL WORLD, playable first-person. The operator's | 4719 | 159 |
| nx_wasm_craft_imported_body_t42.nx | NISHI CRAFT: a GENERATED 3D VOXEL WORLD, playable first-person. The operator's | 4714 | 159 |
| nx_wasm_craft_imported_body_t49.nx | NISHI CRAFT: a GENERATED 3D VOXEL WORLD, playable first-person. The operator's | 4741 | 164 |
| nx_wasm_craft_imported_t262.nx | NISHI CRAFT: a GENERATED 3D VOXEL WORLD, playable first-person. The operator's | 4799 | 171 |
| nx_wasm_craft_inspection_bounds_t181.nx | NISHI CRAFT: a GENERATED 3D VOXEL WORLD, playable first-person. The operator's | 4795 | 171 |
| nx_wasm_craft_inspection_distance_t218.nx | NISHI CRAFT: a GENERATED 3D VOXEL WORLD, playable first-person. The operator's | 4795 | 171 |
| nx_wasm_craft_inspection_t142.nx | NISHI CRAFT: a GENERATED 3D VOXEL WORLD, playable first-person. The operator's | 4767 | 169 |
| nx_wasm_craft_journal_index_t21.nx | NISHI CRAFT: a GENERATED 3D VOXEL WORLD, playable first-person. The operator's | 4723 | 159 |
| nx_wasm_craft_journal_index_t21_before_t44.nx | NISHI CRAFT: a GENERATED 3D VOXEL WORLD, playable first-person. The operator's | 4726 | 158 |
| nx_wasm_craft_lookup_candidate.nx | NISHI CRAFT: a GENERATED 3D VOXEL WORLD, playable first-person. The operator's | 4671 | 135 |
| nx_wasm_craft_morf_gate.nx | ORIGINAL. Internal engine ownership gate, not browser/public-loader acceptance. | 99 | 1 |
| nx_wasm_craft_move_t72.nx | NISHI CRAFT: a GENERATED 3D VOXEL WORLD, playable first-person. The operator's | 4795 | 171 |
| nx_wasm_craft_pre_inspection_t142.nx | NISHI CRAFT: a GENERATED 3D VOXEL WORLD, playable first-person. The operator's | 4753 | 166 |
| nx_wasm_craft_recovery_t20.nx | NISHI CRAFT: a GENERATED 3D VOXEL WORLD, playable first-person. The operator's | 4714 | 155 |
| nx_wasm_craft_relief_adopt_t143.nx | NISHI CRAFT: a GENERATED 3D VOXEL WORLD, playable first-person. The operator's | 4795 | 171 |
| nx_wasm_craft_relief_save_t143.nx | NISHI CRAFT: a GENERATED 3D VOXEL WORLD, playable first-person. The operator's | 4795 | 171 |
| nx_wasm_craft_relief_t143.nx | NISHI CRAFT: a GENERATED 3D VOXEL WORLD, playable first-person. The operator's | 4797 | 171 |
| nx_wasm_craft_residency_t44.nx | NISHI CRAFT: a GENERATED 3D VOXEL WORLD, playable first-person. The operator's | 4757 | 165 |
| nx_wasm_craft_turn_candidate_t139.nx | NISHI CRAFT: a GENERATED 3D VOXEL WORLD, playable first-person. The operator's | 4752 | 166 |
| nx_wasm_craft_visitors_canonical_t142.nx | NISHI CRAFT: a GENERATED 3D VOXEL WORLD, playable first-person. The operator's | 4767 | 169 |
| nx_wasm_craft_visitors_inspection_t142.nx | NISHI CRAFT: a GENERATED 3D VOXEL WORLD, playable first-person. The operator's | 4767 | 169 |
| nx_wasm_craft_visitors_t140.nx | NISHI CRAFT: a GENERATED 3D VOXEL WORLD, playable first-person. The operator's | 4752 | 166 |
| nx_wasm_craft_vm_gate.nx | RUN THE SHIPPED CRAFT WASM, IN THE MEMORY THE BROWSER GIVES IT. | 526 | 12 |
| nx_wasm_data.nx | Static-data layout for the WAT backend. Addresses are module-relative, never host pointers. | 185 | 9 |
| nx_wasm_diablo.nx | BROWSER-PLAYABLE sovereign isometric ARPG ("that generation of game"): BASE-RELATIVE | 177 | 17 |
| nx_wasm_diablo_gate.nx | 127 | 4 | |
| nx_wasm_diablo_html.nx | SOVEREIGN packager: the isometric ARPG wasm -> a self-contained playable .html WITH | 64 | 3 |
| nx_wasm_emit2.nx | G-WASM-001 milestone 2: emit a REAL function module byte-by-byte | 84 | 4 |
| nx_wasm_emit_seed.nx | SEED of the sovereign WAT->WASM emitter (G-WASM-001 milestone 1). | 85 | 4 |
| nx_wasm_explodelab.nx | EXPLODELAB: the interactive exploded-view surface (cadtwin R2b = the explodeview | 400 | 30 |
| nx_wasm_explodelab_gate.nx | native teeth for the ExplodeLab surface BEFORE packing: the baked REAL as1 | 146 | 6 |
| nx_wasm_explodelab_html.nx | SOVEREIGN packager for EXPLODELAB: emits a self-contained .html (wasm | 39 | 2 |
| nx_wasm_fitfixture.nx | A DELIBERATELY BROKEN WASM MODULE. It exists to be REFUSED. | 50 | 5 |
| nx_wasm_html.nx | SOVEREIGN packager: a wasm game -> a self-contained playable .html. The JS canvas shim is | 36 | 2 |
| nx_wasm_html_fps.nx | SOVEREIGN packager for the FIRST-PERSON wasm world: reads the .wasm, base64s it | 32 | 2 |
| nx_wasm_html_vox3d.nx | SOVEREIGN packager for the TRUE 3D voxel world. Emits a self-contained playable .html: | 31 | 2 |
| nx_wasm_layout_gate.nx | 46 | 1 | |
| nx_wasm_layout_lib.nx | Source-derived reservation record for WAT packaging. This is evidence, not pair acceptance. | 41 | 2 |
| nx_wasm_layout_read_lib.nx | Parses a hexadecimal layout comment from WebAssembly text and validates it against a shared header. | 37 | 2 |
| nx_wasm_layout_verify_gate.nx | 47 | 2 | |
| nx_wasm_layout_verify_lib.nx | Independent NXWLAY01 reader; no compiler allocator or record writer dependency. | 62 | 2 |
| nx_wasm_layout_wat_gate.nx | 22 | 1 | |
| nx_wasm_layout_wat_lib.nx | Compiler-attached layout evidence. WAT comments preserve executable semantics. | 30 | 1 |
| nx_wasm_memory_gate.nx | 31 | 1 | |
| nx_wasm_memory_inspect_gate.nx | Read-only whole-file observation through existing readcap and memory-contract owners. | 39 | 2 |
| nx_wasm_memory_lib.nx | Allocation-free inspection of Nishi's single-memory Wasm artifacts. | 100 | 5 |
| nx_wasm_mineworld.nx | MINECRAFT-LEVEL PROC GEN: an INFINITE deterministic voxel world (the noise function | 1194 | 93 |
| nx_wasm_mineworld_gate.nx | NATIVE gate for the INFINITE procgen voxel world (the Minecraft-procgen rung). | 220 | 5 |
| nx_wasm_mineworld_html.nx | SOVEREIGN packager for MineWorld (the INFINITE procgen voxel world). Emits a | 32 | 2 |
| nx_wasm_mineworld_mod_gate.nx | gate for BLOCKS-AS-DATA (the first loose-coupling rung of the moddable | 127 | 5 |
| nx_wasm_mineworld_mp_gate.nx | NATIVE gate for MineWorld MULTIPLAYER (GTA-online rung 1): peer avatars + | 144 | 5 |
| nx_wasm_mineworld_mp_html.nx | SOVEREIGN packager for MULTIPLAYER MineWorld (GTA-online rung 1) with | 33 | 2 |
| nx_wasm_mineworld_tick_gate.nx | gate for the SOVEREIGN TICK (operator law: NO JS game logic -- the wasm | 224 | 7 |
| nx_wasm_pair_extension_gate.nx | 154 | 4 | |
| nx_wasm_physlab.nx | PHYSLAB: the VISIBLE consumer of the shared 3D core (reuse census W2: "a game surface | 220 | 23 |
| nx_wasm_physlab_gate.nx | gate for PHYSLAB (the visible consumer of phys3d+softjiggle; reuse-census W2). | 141 | 5 |
| nx_wasm_physlab_html.nx | SOVEREIGN packager for PHYSLAB (the visible phys3d+softjiggle surface). Emits a | 31 | 2 |
| nx_wasm_platformer.nx | the THIRD sovereign browser game genre: a PLATFORMER auto-runner, pure-Nishi NO-FLOAT, | 148 | 21 |
| nx_wasm_platformer_gate.nx | native test harness + PNG proof for the sovereign browser platformer | 117 | 4 |
| nx_wasm_pong.nx | BROWSER-PLAYABLE sovereign Pong (Sport): BASE-RELATIVE integer core, runs native (-> PNG) | 103 | 15 |
| nx_wasm_pong_gate.nx | 97 | 2 | |
| nx_wasm_pong_html.nx | SOVEREIGN packager: the Pong wasm -> a self-contained REAL-TIME playable .html. | 36 | 2 |
| nx_wasm_promote.nx | GATE-CHECKED promotion of the video client core: staged.wasm -> live wasm, | 60 | 3 |
| nx_wasm_racing.nx | BROWSER-PLAYABLE sovereign Racing: BASE-RELATIVE integer core, runs native (-> PNG) AND | 124 | 14 |
| nx_wasm_racing_gate.nx | 102 | 2 | |
| nx_wasm_racing_html.nx | SOVEREIGN packager: the racing wasm -> a self-contained REAL-TIME playable .html. | 31 | 2 |
| nx_wasm_sandbox.nx | BROWSER-PLAYABLE sovereign Sandbox (falling-sand): BASE-RELATIVE integer core, runs | 127 | 15 |
| nx_wasm_scalararm.nx | nx_wasm.nx F618 wasm-SIMD FLIP (2026-07-21, landed from the proven rung-1 twin nx_wasm_v128.nx). | 927 | 31 |
| nx_wasm_scratch.nx | WASM-lane framed SCRATCH allocator: the linear-memory port of nx_scratch | 46 | 5 |
| nx_wasm_shmup.nx | BROWSER-PLAYABLE sovereign Shoot-'em-up: BASE-RELATIVE integer core, the SAME code runs | 134 | 14 |
| nx_wasm_shmup_gate.nx | 97 | 2 | |
| nx_wasm_shmup_html.nx | SOVEREIGN packager: the shmup wasm -> a self-contained REAL-TIME playable .html WITH | 61 | 3 |
| nx_wasm_static_bounds_gate.nx | Pure compiler layout tests: actual checked owner and emitted bytes, no CLI subprocess or deployment. | 107 | 4 |
| nx_wasm_td.nx | BROWSER-PLAYABLE sovereign Tower-Defence: BASE-RELATIVE integer core, runs native (-> PNG) | 173 | 18 |
| nx_wasm_td_gate.nx | 72 | 2 | |
| nx_wasm_td_html.nx | SOVEREIGN packager: the Tower-Defence wasm -> a self-contained playable .html. JS does | 31 | 2 |
| nx_wasm_thirdperson.nx | BROWSER-PLAYABLE sovereign Third-Person explorer: BASE-RELATIVE integer core, runs | 119 | 15 |
| nx_wasm_thirdperson_gate.nx | 117 | 3 | |
| nx_wasm_thirdperson_html.nx | SOVEREIGN packager: the third-person wasm -> a self-contained REAL-TIME | 31 | 2 |
| nx_wasm_threads_gate.nx | LN33 / LN34 REFEREE (lang.plan): wasm threads from the sovereign compiler, ONE family. | 285 | 11 |
| nx_wasm_vm.nx | nx_wasm_vm.nx F618 wasm-SIMD FLIP (2026-07-21, landed from the proven rung-1 twin). Adds interpretation of the | 757 | 34 |
| nx_wasm_vm.pre_metadata_20260912.nx | nx_wasm_vm.nx F618 wasm-SIMD FLIP (2026-07-21, landed from the proven rung-1 twin). Adds interpretation of the | 676 | 25 |
| nx_wasm_vm_bounds_20260912.nx | nx_wasm_vm.nx F618 wasm-SIMD FLIP (2026-07-21, landed from the proven rung-1 twin). Adds interpretation of the | 757 | 34 |
| nx_wasm_vm_bounds_gate_20260912.nx | 98 | 6 | |
| nx_wasm_vm_gate.nx | R0: the sovereign WASM parser (nx_wasm_vm) parses the REAL shipped nx_vcodec.wasm binary and | 54 | 1 |
| nx_wasm_vm_verify.nx | RUN ANY SHIPPED WASM MODULE IN THE MEMORY IT DECLARES. | 330 | 7 |
| wasm.nx | NishiLang port of wasm.c (WAT backend). | 424 | 13 |
| wasm_test.nx | self-test for wasm.nx. | 49 | 2 |