Skip to content

Bridge: implement the Objective-C JavaScriptCore embedding surface #138

Description

@chrisbbreuer

Parent: #134
Depends on: #135 and #137

Provide a native Objective-C bridge for the declared macOS compatibility target.

Acceptance:

  • Inventory the targeted JSContext, JSValue, JSVirtualMachine, JSManagedValue, JSExport, and block/callable surface.
  • Implement object/value conversion, identity preservation, exceptions, subscripting, calls, construction, and promises.
  • Implement managed references and VM/context lifetime semantics without leaks or premature collection.
  • Cover Objective-C blocks, exported protocols, selectors, dates, arrays, dictionaries, typed arrays, and errors.
  • Add Objective-C compile-link-runtime and autorelease/lifetime stress tests.
  • Version-gate unsupported target revisions explicitly.

Child issue map:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions