The recommended way to install ocaml-gettext is via the [opam package manager][opam]:
$ opam install ocamlify
Using the following file test.mlify
:
VarString file_ml "file.ml"
It is possible to run ocamlify
to automatically embed the file file.ml
as a
string into another OCaml file.
$ ocamlify test.mlify
let file_ml = [...]