package camlp5

  1. Overview
  2. No Docs
Preprocessor-pretty-printer of OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

8.05.00.tar.gz
sha512=8c1e6709438187532631b4806aa567be496085ac255ac7d2e5308afe63ec160a48065712af308bca140c254e82d7dbabed94ad992448f1a861349b63541cb0f2

Description

Camlp5 is a preprocessor and pretty-printer for OCaml programs. It also provides parsing and printing tools.

As a preprocessor, it allows to:

extend the syntax of OCaml, redefine the whole syntax of the language. As a pretty printer, it allows to:

display OCaml programs in an elegant way, convert from one syntax to another, check the results of syntax extensions. Camlp5 also provides some parsing and pretty printing tools:

extensible grammars extensible printers stream parsers and lexers pretty print module It works as a shell command and can also be used in the OCaml toplevel.

Published: 08 May 2026