package camlp5

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

8.03.06.tar.gz
sha512=eb4b665e5e3360320a1d87e458385bf521bcb1a0f569637e6f9436aedd027fb264ad4c2b6b60f77aa32ea3c2670827573b6a02acf1ee3258a4734012647803fd

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.

Added to opam-repository:

Dependencies (11)

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

Dev Dependencies (3)

  1. mdx >= "2.3.0" & with-test
  2. ounit2 with-test
  3. conf-diffutils with-test & (os-distribution = "alpine" | os-distribution = "freebsd")

Conflicts (6)

  1. frama-clang = "0.0.14"
  2. lablgl <= "1.07"
  3. matita <= "0.99.5"
  4. p5scm <= "0.3.1"
  5. pa_ppx <= "0.19"
  6. ocaml-option-bytecode-only