Skip to content

Bridge: implement JSExport, Objective-C blocks, and interop completion evidence #160

Description

@chrisbbreuer

Parent: #138
Depends on: Objective-C inventory, core behavior, and managed lifetime children

Complete callable/exported Objective-C interop and the final bridge evidence matrix.

Acceptance:

  • Implement Objective-C block to JavaScript callable conversion and JavaScript function to block/callable invocation with argument/return conversion and exception propagation.
  • Implement JSExport protocol discovery, inherited protocols/classes, instance/class methods, properties/accessors, initializers/constructors, selector-to-property naming, and JSExportAs.
  • Support the inventoried primitive, object, class-pointer, block, CGPoint/CGSize/CGRect/NSRange, date, collection, typed-array, and error conversions.
  • Preserve wrapper/prototype/constructor identity and method receiver semantics across contexts in one VM; reject cross-VM use.
  • Add Objective-C compile-link-runtime, system-JSC differential, autorelease/lifetime stress, sanitizer/leak, and zero-hidden inventory gates.
  • Update README/API docs and close Bridge: implement the Objective-C JavaScriptCore embedding surface #138 only when every inventoried entry and conversion row has evidence.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions