
Camlmix is a generic preprocessor which converts text with embedded OCaml into an OCaml program with embedded text. It produces text documents from one or several templates. OCaml toplevel statements are inserted between '## ... ##', and OCaml string expressions between '##= ... ##'.