Skip to content

Generating js-bindings for JavaScriptCore #5

Open
@swagatbora90

Description

@swagatbora90

Hello,

I am really interested in knowing more about js-bindings for JavaScriptCore. Presently, Cocos2d-x uses "binding-generator" for automatically generating the glue-code, but that seems to be Spidermonkey specific. However, the js-binding code you have provided in your branch, is working for JSC. Do we need to manually write all the bindings for JSC or can we use the same generator in cocos2d for automatic generation of jsbindings for JavaScriptCore.

Also I would like to know about how Spidermonkey and JavaScriptCore differ in their bindings templates. I am trying to make changes in the "binding-generator" to generate bindings for JavaScriptcore.

Thanks and regards
Swagat

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