package brr

  1. Overview
  2. Docs
Browser programming toolkit for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

brr-0.0.7.tbz
sha512=4b3d42eb6a32c1d6f1c5ef003f5311b5029156b31f6e51af098b695c769699e0304b66afd2dd574ecf1084e095bbbc4eac552daab083766cd81ed2f1d9897d51

Description

Brr is a toolkit for programming browsers in OCaml with the js_of_ocaml compiler. It provides:

  • Interfaces to a selection of browser APIs.
  • An OCaml console developer tool for live interaction with programs running in web pages.
  • A JavaScript FFI for idiomatic OCaml programming.

Brr is distributed under the ISC license. It depends on the js_of_ocaml compiler and runtime – but not on its libraries or syntax extension.

Homepage: https://erratique.ch/software/brr

README

brr — Browser programming toolkit for OCaml

Brr is a toolkit for programming browsers in OCaml with the js_of_ocaml compiler. It provides:

  • Interfaces to a selection of browser APIs.

  • An OCaml console developer tool for live interaction with programs running in web pages.

  • A JavaScript FFI for idiomatic OCaml programming.

Brr is distributed under the ISC license. It depends on the js_of_ocaml compiler and runtime – but not on its libraries or syntax extension.

Homepage: https://erratique.ch/software/brr

Installation

Brr can be installed with opam:

opam install brr

If you don't use opam consult the opam file for build instructions.

Documentation

The documentation can be consulted online or via odig doc brr.

Questions are welcome but better asked on the OCaml forum than on the issue tracker.

Sample programs

A few basic programs can be found in the test suite.

You can run them with for example b0 -- test_audio, see b0 list for the list of tests.

Dependencies (6)

  1. js_of_ocaml-toplevel >= "5.5.0"
  2. js_of_ocaml-compiler >= "5.5.0"
  3. topkg build & >= "1.0.3"
  4. ocamlbuild build
  5. ocamlfind build
  6. ocaml >= "4.08.0"

Dev Dependencies

None

Conflicts

None

OCaml

Innovation. Community. Security.