Package ocaml-cinaps

Trivial Metaprogramming tool using the OCaml toplevel

https://github.com/ocaml-ppx/cinaps

Cinaps is a trivial Metaprogramming tool for OCaml using the OCaml
toplevel.

It is intended for two purposes:
- when you want to include a bit of generated code in a file, but writing
  a proper generator/ppx rewriter is not worth it;
- when you have many repeated blocks of similar code in your program, to
  help writing and maintaining them.

It is not intended as a general preprocessor, and in particular can only
be used to generate static code that is independent of the system.

Version: 0.15.1

General Commands

cinaps Trivial Metaprogramming tool using the OCaml toplevel