package brr
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha512=49e7bfbad2ea6a0139354e4a33c59c8a113c4c1e20a4f629bc5cad24aa801e474b4af10ce35adbda5d23dd294d1de5efa5b10bb3030d03f4758459977250a0f6
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 brrIf 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)
-
js_of_ocaml-toplevel
>= "6.0.1" -
js_of_ocaml-compiler
>= "6.0.1" -
topkg
build & >= "1.1.0" -
ocamlbuild
build -
ocamlfind
build -
ocaml
>= "4.08.0"
Dev Dependencies
None
Conflicts
None