Repository navigation
chore: remove the isomorphic (iso) layer - #3
Merged
Merged
Conversation
The /iso entry was upstream's experiment for sharing one TypeScript frontend with a native host (scriptc-game): csrc/flat.cpp with fixed 16384-slot tables and a single-world assumption, src/frontend.ts built with a tsc --ignoreConfig hack, and a v0 surface (world, body, box, sphere) that nothing outside the repo's own test consumed. It also leaked the _b3f_* exports into the generated declarations. The fork's public API is the embind surface (soon a flat C ABI with its own TypeScript frontend), so the layer is dropped: files, the ./iso package export, the build step and the README section. BREAKING CHANGE: the `@frsource/box3d-wasm/iso` entry no longer exists. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This was referenced Oct 7, 2026
FRSgit
marked this pull request as ready for review
October 7, 2026 20:07
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The
/isoentry was upstream's experiment for sharing one TypeScript frontend with a native host:csrc/flat.cpp(fixed 16384-slot tables, single world),src/frontend.tsbuilt with atsc --ignoreConfighack, and a v0 surface (world, body, box, sphere). Nothing outside this repo's own test consumed it, and it leaked the_b3f_*exports into the generated declarations.This is the first step of the binding rewrite (flat C ABI + TypeScript frontend) tracked for 1.0; removing the dead layer first keeps that PR focused.
What
csrc/flat.cpp,src/frontend.ts,src/backend.d.ts,src/backend-wasm.mjs,src/iso.mjs,test/iso.test.mjs../isoexport, the frontend build step inscripts/build.shand the README section.Breaking:
@frsource/box3d-wasm/isono longer exists (no known importers).Verification
pnpm buildfrom a cleandist/(both flavours),dist/box3d.d.tscontains no_b3f_*exports.pnpm test: 23 passing.pnpm lintclean.🤖 Generated with Claude Code