package camlp5

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

Install

Dune Dependency

Authors

Maintainers

Sources

8.03.04.tar.gz
sha512=2901c3d9417c1b5652a6fb2aa66d7afdcd776f72109042774815537c0d4b2ac61dfc74334950a8108a49790a9f0ed58bbc0d2a090dc231ef559a67d4caa8d633

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: 15 Apr 2025

OCaml

Innovation. Community. Security.