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

camlp4-5.5.tar.gz
md5=ad5eb262912ba37f654837b112ff4d91
sha512=253b3719a13f599e770a36938b4deffa9cd3a65ec944b42fc180e2a649412fd41a5b6be64d2fd244127997be9e041676aecdac3aab056664e828737c4e37382a

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: 25 Jun 2026