ruby / ruby/ruby.wasm

No direct way to set ruby function/variables within javascript.

Open
#596 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
875
Forks
68
Avg merge
9d 5h
Merged PRs (30d)
1

Description

Looking through the docs, I expected to be able to find a way to directly set a variable and/or function to ruby in javascript using something like vm.set() like some high quality vms like pypy and wasmoon do but seeing that isnt the case that leavs me wondering how exactly can i do so? This features is pretty important for my project seeing as its how i need this to set a library of commands up to work.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Start by reviewing the ruby.wasm documentation and its existing JavaScript/Ruby interop entry points, then determine whether a supported variable or function-setting interface can be specified; done means the behavior and usage are implemented and documented for the command-library use case.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, ruby, wasm
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.