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.1.tbz
sha256=194d9b5aaa28d99a9549807dce68c2563497f2dd96e4e3801f4ad0f1ca9680bb
sha512=0e30ede2ce71c05bf06e10df91a50f1cf3ffc1660a5116b665cc1d98d80877c763dc9460c5854bf51e0f2bcb54d1285ecb5108d9e2d26af9caa281742efdae89

Description

Generate js_of_ocaml bindings from webidl definitions

Published: 30 Jul 2020

README

README.md

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. dune >= "2.2"
  11. ocaml >= "4.08"

Dev Dependencies

None

Used by (1)

  1. js_of_ocaml-webgpu < "0.2"

Conflicts

None

OCaml

Innovation. Community. Security.