package camlp5

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

Install

Dune Dependency

Authors

Maintainers

Sources

8.03.01.tar.gz
sha512=144ab15e18673fa485d08cf37c6ba69146db7db4be9e7031e202e0747d922e223396b83881b1d65cf27bedb2115d91e5eb62b5a22e2d57dda838013ebd398ff2

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: 02 Oct 2024

Dependencies (9)

  1. fmt
  2. bos
  3. rresult
  4. re >= "1.11.0"
  5. camlp5-buildscripts >= "0.02"
  6. conf-perl
  7. camlp-streams >= "5.0"
  8. ocamlfind
  9. ocaml >= "4.10" & < "5.04.0"

Dev Dependencies (4)

  1. pcre2 with-test
  2. ounit2 with-test
  3. conf-diffutils with-test & (os-distribution = "alpine" | os-distribution = "freebsd" | os-family = "opensuse")
  4. conf-bash with-test

Conflicts (5)

  1. lablgl <= "1.07"
  2. matita <= "0.99.5"
  3. p5scm <= "0.3.1"
  4. pa_ppx < "0.16"
  5. ocaml-option-bytecode-only
OCaml

Innovation. Community. Security.