package brr

  1. Overview
  2. Docs
Browser programming toolkit for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

brr-0.0.2.tbz
sha512=038e864ee718531ddf7a85166c9fec747eef20e55cdaf6610807275775d54ea1d3139ecc73afd4922ae2927c6e9ea367de93fdb3d9d369e848c69e9d8ccf8607

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.
  • Note based reactive support (optional and experimental).
  • 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 Note and 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

v0.0.2

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

  • Interfaces to a selection of browser APIs.

  • Note based reactive support (optional and experimental).

  • 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 Note and 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.

Sample programs

Not much for now. A few basic programs are in the test suite.

An implementation of the TodoMVC application with brr.note is in todomvc.ml.

Dependencies (6)

  1. note
  2. js_of_ocaml-toplevel >= "3.7.1" & < "4.1.0"
  3. js_of_ocaml-compiler >= "3.7.1"
  4. ocamlbuild build
  5. ocamlfind build
  6. ocaml >= "4.08.0"

Dev Dependencies

None

Conflicts

None