package camlp4

  1. Overview
  2. No Docs
Camlp4 is a system for writing extensible parsers for programming languages

Install

dune-project
 Dependency

Authors

Maintainers

Sources

5.4+1.tar.gz
md5=87e3512e0ef4acb6cb41bb7bc958ef22
sha512=4eddd761f3c81cfd4fbeec0eac661d572a2779d35f4a332d2d8a3c7ee80aeb0a0269535d7b1a2c708963ac03f9cf325f2fe219c4393823843c16c30c975afcc8

Description

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.

Published: 07 Oct 2025