brr
v0.0.3
Brr is a toolkit for programming browsers in OCaml with thejs_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.
sha512=5fa5498c57f86799a3bd9743c41991bb7bc347f424258b474ac92d6b7cf645300c9b618ebe78ac3973d6940b38d2d7c415be20c2b68cb89452288bd3f9122add
>= "4.0.0"
>= "4.0.0"
build
build
>= "4.08.0"