Skip to content

Any interface for exposing go funcs to the VM #660

@hmarron

Description

@hmarron

I'm looking for some way to have some Go functions callable from within JS vm

Example: in yuin/gopher-lua
where they allow you to set a global in the lua vm, and then that func must push to the lua stack and return the number of items pushed

thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions