ReviewOS

zig-utils/zig-js

Audit JavaScriptCore C API subset docs against exports

#7
Closed chris opened this 9 days ago ·
9 days ago

Scope

  • Compare README/docs C-API claims against src/c_api.zig exported symbols and unit coverage.
  • Keep docs describing zig-js as an implemented JavaScriptCore C-API subset, not the whole framework.
  • Add or update a generated/evidence-backed symbol inventory if useful.

Exit criteria

  • Public docs list or summarize only implemented C-API symbols.
  • Missing JSC framework features are framed as out of scope or future work.
  • The docs build passes and no stale drop-in claims remain in public status pages.

Notes

  • Home integration docs already note zig-js is not a drop-in for Home's private JSC/Bun ABI; keep that distinction.
9 days ago

Implemented in ec91da9. Audited docs against src/c_api.zig exports: 50 C-API functions. Updated README, docs/api.md, and docs/HOME_INTEGRATION.md to list the implemented surface, call out ZJSGlobalContextCreateThreaded/JSWorker* as zig-js extensions, and mark JSObjectMakeDeferredPromise as exported for ABI coverage but currently NotImplemented.

Sign in to comment on this issue.