You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Home and Bun inspect EncodedJSValue words inline, while zig-js uses its own internal NaN-box tags. Implement an explicit private-ABI boundary codec instead of conflating the two layouts.
Acceptance:
Pin the exact JSC64 empty/null/boolean/undefined/int32/double/cell encodings used by the declared Home/Bun revisions.
Prove 8-byte size/alignment and exact constant values.
Round-trip signed int32, finite doubles, infinities, canonical/noncanonical NaNs, and negative zero without colliding with cells or immediates.
Validate aligned non-null external cell handles and reject empty/immediate/number words as cells.
Provide explicit primitive conversion to/from zig-js internal Value without changing the internal representation.
Add focused reference-derived tests and document why private shims must use this boundary.
Parents: #163, #164
Depends on: #165
Home and Bun inspect EncodedJSValue words inline, while zig-js uses its own internal NaN-box tags. Implement an explicit private-ABI boundary codec instead of conflating the two layouts.
Acceptance: