WebAssembly / WebAssembly/binaryen

Output structured data format based on wasm-delegations.def

Open
#6,460 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
WebAssembly
Stars
8.6k
Forks
885
Avg merge
1d 19h
Merged PRs (30d)
69

Description

Based on https://github.com/WebAssembly/binaryen/discussions/6225#discussioncomment-8954759

Currently, many Wasm instructions are defined in src/wasm-delegations*.def, which is a C header that Binaryen and tools within Binaryen can use.

This file could also be processed and output as structured data (JSON, YAML, etc) in the build artifacts, which would allow other tools and bindings to consume it for automation.

I'm particular to JSON, but we should see what others would want to consume.

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

Start by reading src/wasm-delegations*.def and the linked discussion to identify how the definitions are currently consumed and what structured data consumers need. Decide the output format and build-artifact integration before implementing it; done means the definitions are emitted as structured data that other tools and bindings can consume.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, wasm
Domain
build-system, compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.