package js_of_ocaml-webidl

  1. Overview
  2. Docs
Generate js_of_ocaml bindings from webidl definitions

Install

Dune Dependency

Authors

Maintainers

Sources

js_of_ocaml-webgpu-0.2.tbz
sha256=3b1f3ba2420ad3b35abf04b2d99d807868a3aafc8b437c2ef4589fe8ddf76cde
sha512=01f71bc8fcdb73569a9f34e942f33f677b6b8ceb6823699ca8aeab292f7f2413f39e689e7dd3b368dd7474b055b18e9d6ff7dba500971dc4dce744d0cf2fddcc

Description

Generate js_of_ocaml bindings from webidl definitions

Published: 04 Aug 2020

README

README.md

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.

Dependencies (11)

  1. menhir build & >= "20180523" & < "20211215"
  2. ppx_jane
  3. js_of_ocaml-ppx
  4. js_of_ocaml-lwt
  5. js_of_ocaml
  6. ppx_deriving
  7. webidl
  8. async >= "v0.12" & < "v0.15"
  9. core >= "v0.13" & < "v0.15"
  10. ocaml >= "4.08"
  11. dune >= "2.2"

Dev Dependencies

None

Used by (1)

  1. js_of_ocaml-webgpu >= "0.2"

Conflicts

None

OCaml

Innovation. Community. Security.