1 Camlp5 is a preprocessor and pretty-printer for OCaml programs. It also
2 provides parsing and printing tools.
4 As a preprocessor, it allows to:
5 - extend the syntax of OCaml,
6 - redefine the whole syntax of the language.
7 As a pretty printer, it allows to:
8 - display OCaml programs in an elegant way,
9 - convert from one syntax to another,
10 - check the results of syntax extensions.
11 Camlp5 also provides some parsing and pretty printing tools:
14 - stream parsers and lexers
16 It works as a shell command and can also be used in the OCaml toplevel.