bytecodealliance / bytecodealliance/componentize-py
Add support for type aliases
オープン
- 主要言語
- Rust
- スター
- 277
- フォーク
- 51
- 平均マージ
- 12時間 10分
- マージ済み PR(30日)
- 10
説明
Currently, `componentize-py` generates no code for type aliases; instead, it just uses the dealiased types directly. Instead, we should generate assignment expressions for each alias and use the alias in all the same places (e.g. function parameter types, etc.) that the original WIT files used them.
コントリビューションガイド
調査の方向性
ファイルやテストは指定されていません。まず componentize-py の型生成と型参照の処理を見つけ、次に、生成された Python で WIT のエイリアスが現在どのように dealiased されているかを追跡します。完了条件は、すべてのエイリアスについて代入を出力し、元の WIT がそのエイリアスを使用している箇所では、関数パラメーターの型を含めて、そのエイリアスを維持することです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python, rust, wasm
- 領域
- compilers, devtools
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 38/100