Document implementing new instructions and apis
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- c, javascript, ocaml, wasm
- Lĩnh vực
- developer-experience, documentation
Hướng nghiên cứu
Start from the workflow steps in the issue and trace one instruction through src/binaryen-c.h, src/js/binaryen.js-post.js, the OCaml .ml and .mli bindings, and test/test.ml. Use the linked SIMD pull request as a worked example. Done means a written guide, in a location the maintainers choose, that a newcomer can follow to add one instruction end to end. The issue does not say where the guide should live or what format it should take, so ask in the discord first.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
We should properly document how to implement new instructions and api's and work with the bindings.
Currently, my workflow has been:
- Find the instruction in
src/binaryen-c.h - Find the instruction in
src/js/binaryen.js-post.js(If it doesn't exist in both, we need downstream changes to binaryen) - Copy an existing instruction with similar requirements (parameter and return types)
- Implement the
cbindings - Implement the
jsbindings - Implement the
mlOCaml binding. - Implement the
mliOCaml interface - Add smoke tests in
test/test.ml
Good example reference (SIMD implementation): https://github.com/grain-lang/binaryen.ml/pull/222
Feel free to ask for help in the grain discord in the binaryen-ml channel.
- Ngôn ngữ chính
- C
- Star
- 54
- Fork
- 9
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của grain-lang/binaryen.ml
-
Improve testingĐang mởgood first issue Tests
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
grain-lang/binaryen.ml#295 ·
-
Add `String` apiCó thể làm lại được @spotandjake đã nhận 358 ngày trước và không có pull request nào đang mở. Đang mởApi blocked
grain-lang/binaryen.ml#263 · 1 người được giao ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 22/100
grain-lang/binaryen.ml#260 ·
-
Investigate `wasm_of_ocaml` useĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
grain-lang/binaryen.ml#253 ·
-
documentation
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
grain-lang/binaryen.ml#251 ·
Tất cả issue của grain-lang/binaryen.ml
Issue tương tự
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Life-Framework/Life-Framework#5378 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Bug Status: Needs Triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug status: planned ui
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
ChupathingyCE/chupathingyce#2126 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue simulation
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 92/100
MarcosAsh/Lattice_Fluid_Dynamics#270 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-kind
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
falcosecurity/libs#3173 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày