This is an OCaml library implementation of the Rizzo FRP model.
To use the Rizzo library in your OCaml project, add rizzo as a dependency in your dune file:
(library
(name your_project_name)
(libraries rizzo))https://ocaml.org/p/rizzo/latest
To install the library, use OPAM:
opam install rizzoTo set up the development environment, clone the repository and install dependencies:
git clone https://github.com/itu-msc/Research-Project.git
cd Research-Project
opam install . --deps-only
# opam env Linux/MacOS
eval $(opam env)
# opam env Windows
opam env | Invoke-Expression
# or
./opam-env.ps1
# build the project
dune build
# or
bun run build
# run Rizzo
cd src
dune exec Rizzo
# or
bun run devYou can find minor examples in the main.ml file. To run the examples execute:
dune exec Rizzoor
bun dev