Document implementing new instructions and apis
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Documentazione
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- c, javascript, ocaml, wasm
- Ambito
- developer-experience, documentation
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- C
- Stelle
- 54
- Fork
- 9
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di grain-lang/binaryen.ml
-
Improve testingApertagood first issue Tests
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
grain-lang/binaryen.ml#295 ·
-
Add `String` apiForse di nuovo libera @spotandjake l’ha presa 358 giorni fa e non c’è nessuna pull request aperta. ApertaApi blocked
grain-lang/binaryen.ml#263 · 1 assegnatario ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 22/100
grain-lang/binaryen.ml#260 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
grain-lang/binaryen.ml#253 ·
-
documentation
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
grain-lang/binaryen.ml#251 ·
Tutte le issue di grain-lang/binaryen.ml
Issue simili
-
good first issue simulation
Difficoltà 1/5 1-3 ore Idoneità per principianti 92/100
MarcosAsh/Lattice_Fluid_Dynamics#270 ·
I maintainer di solito rispondono entro 1 giorno
-
needs-kind
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
falcosecurity/libs#3173 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Installation fails from source: missing libintl.h on macOS, undeclared R_typeToChar() on R 4.6Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
vincentarelbundock/xtx#11 ·
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
-
Hide cursor in fullscreenApertaenhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100