Separate core semantics and text format
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- リファクタリング
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- wasm
- 領域
- compilers
調査の方向性
まず wasm.md、normalizations.md、data.md を読み、その後、残っている未チェックのタスク項目を現在のモジュール境界と比較します。wasm.md にコアセマンティクスが含まれ、normalizations.md がテキスト形式の書き換えを扱うように、一覧にある定義と識別子を移動し、各チェックリスト項目を検証できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
It's becoming a bit inconvenient to have all these folded instructions, aliases and syntactic sugars in the main semantics module, wasm.md. I suggest we move all rules that are just intermediate rewrites, such as instruction unfolding, into a module named normalizations.md. That way, wasm.md becomes a close mirror of the "Execution" part of the spec, dealing with the AST and state updates, and normalizations.md deals with the whole world of valid .wast concrete syntax by only rewriting top-level terms in the <k> cell.
Instead of having all these rules in the core syntax, we can keep them in a separate module. This both makes the core semantics smaller, more like the official spec, and a smaller compile target for the binary format.
Update: Here's the suggested tasks
- Introduce a separate module for the text format.
- Move out pure desugaring rules and syntax: folded instructions, inlined exports/imports, etc.
- Move block instructions (control flow) with identifiers to text module (requires some way to look up the correct branching index).
- Move definitions with identifers to the core semantics:
- memory, table
- func, start
- global, local
- imports, exports
- type
- elem, data
- Move Identifiers out of
data.mdand into text module.
- 主要言語
- WebAssembly
- スター
- 106
- フォーク
- 24
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
runtimeverification/wasm-semantics のほかの issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
runtimeverification/wasm-semantics の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
objectionary/jeo-maven-plugin#1827 ·
メンテナーはふだん 4 日以内に返信
-
backend:DirectX
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
llvm/llvm-project#227530 ·
メンテナーはふだん 1 日以内に返信
-
`enzymexla.linalg.lu` lowering fails for a tall matrix: the permutation is built with the pivot typeオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
EnzymeAD/Enzyme-JAX#3286 ·
メンテナーはふだん 1 日以内に返信
-
bot-triaged oncall: cpu inductor
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
pytorch/pytorch#199058 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
WebAssembly/component-model#733 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信