README.md 878 Bytes
Newer Older
POTTIER Francois's avatar
POTTIER Francois committed
1 2
An OCaml syntax extension (technically, a ppx_deriving plugin) which generates
object-oriented visitors for traversing and transforming data structures.
3

4 5
Here is the [documentation of the latest released version](http://gallium.inria.fr/~fpottier/visitors/manual.pdf).

6 7 8
The easiest way of installing the latest released version of this package is
via `opam`, the OCaml package manager.
```bash
POTTIER Francois's avatar
POTTIER Francois committed
9
opam update
10 11 12 13 14
opam install visitors
```

To install the latest development version, also via `opam`, please proceed as follows:
```bash
15
  git clone https://gitlab.inria.fr/fpottier/visitors.git
16 17 18 19 20 21
  cd visitors
  make pin
```

To install the latest development version, outside of `opam`, please proceed as follows:
```bash
22
  git clone https://gitlab.inria.fr/fpottier/visitors.git
23
  cd visitors
24
  make install
25 26
```
This requires `ocamlfind`, `ocamlbuild`, `ppx_tools`, and `ppx_deriving`.