js_of_ocaml-webidl
Generate js_of_ocaml bindings from webidl definitions
README
Documentation: https://tari3x.github.io/webgpu
Contains two opam packages:
js_of_ocaml-webidl
A tool to generate js-of-ocaml bindings from WebIDL. Incomplete, but sufficient
to translate the WebGPU standard, see js_of_ocaml-webgpu.
Includes a copy of the webidl package due to
https://github.com/0zat/webidl/issues/3
js_of_ocaml-webgpu
Js_of_ocaml bindings for WebGPU (https://gpuweb.github.io/gpuweb/)
The example is the rewrite in ocaml of
https://hello-webgpu-compute.glitch.me/hello-compute-chromium.html.
As of June 2020 you need firefox-nightly with dom.webgpu.enabled=true to
run the example. You'll also need to install Vulkan if running on Linux.
Install
- Published
-
04 Aug 2020
- Maintainers
-
Sources
js_of_ocaml-webgpu-0.2.tbz
sha256=3b1f3ba2420ad3b35abf04b2d99d807868a3aafc8b437c2ef4589fe8ddf76cde
sha512=01f71bc8fcdb73569a9f34e942f33f677b6b8ceb6823699ca8aeab292f7f2413f39e689e7dd3b368dd7474b055b18e9d6ff7dba500971dc4dce744d0cf2fddcc
Dependencies
menhir
build & >= "20180523" & < "20211215"
async
>= "v0.12" & < "v0.15"
core
>= "v0.13" & < "v0.15"
ocaml
>= "4.08"
dune
>= "2.2"
Reverse Dependencies
js_of_ocaml-webgpu
>= "0.2"