camlp4version Documentation on ocaml.org

Camlp4 is a system for writing extensible parsers for programming languages

It provides a set of OCaml libraries that are used to define grammars as well as loadable syntax extensions of such grammars. Camlp4 stands for Caml Preprocessor and Pretty-Printer and one of its most important applications is the definition of domain-specific extensions of the syntax of OCaml.

Camlp4 was part of the official OCaml distribution until its version 4.01.0. Since then it has been replaced by a simpler system which is easier to maintain and to learn: ppx rewriters and extension points.

AuthorsDaniel de Rauglaudre and Nicolas Pouillard
LicenseLGPL-2.1-only
Published
Homepagehttps://github.com/camlp4/camlp4
Issue Trackerhttps://github.com/camlp4/camlp4/issues
Maintainerygrek@autistici.org
Dependencies
Source [http] https://github.com/camlp4/camlp4/archive/refs/tags/5.4+1.tar.gz
md5=87e3512e0ef4acb6cb41bb7bc958ef22
sha512=4eddd761f3c81cfd4fbeec0eac661d572a2779d35f4a332d2d8a3c7ee80aeb0a0269535d7b1a2c708963ac03f9cf325f2fe219c4393823843c16c30c975afcc8
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/camlp4/camlp4.5.4/opam
Optionally used by