package camlp5
Preprocessor-pretty-printer of OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
8.03.02.tar.gz
sha512=c3d17919c342a4bff54513803d2cc31c6f65f794b05761c26da173fbc7be004d975b6dc3e12199f64e16cdfde6048d51924c8a1560d162575933142dd4fc55d4
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: 19 Mar 2025
Dependencies (10)
- fmt
- bos
- rresult
-
pcre2
>= "8.0.3"
-
re
>= "1.11.0"
-
camlp5-buildscripts
>= "0.02"
- conf-perl
-
camlp-streams
>= "5.0"
- ocamlfind
-
ocaml
>= "4.10" & < "5.04.0"
Dev Dependencies (3)
-
ounit2
with-test
-
conf-diffutils
with-test & (os-distribution = "alpine" | os-distribution = "freebsd")
-
conf-bash
with-test
Used by (29)
-
coq-serapi
< "8.9.0+0.6.0"
-
coqide
< "8.10.0"
-
elpi
= "1.14.3"
- elpi-option-legacy-parser
- frama-clang
-
GT
>= "0.4.0"
-
haxe
>= "4.0.0"
- hol_light
-
lablgl
>= "1.06"
-
lablgtk3
>= "3.1.3"
-
ledit
>= "2.05"
- logger-p5
- matita
- OCanren
- orpie
- ostap
-
p5scm
>= "0.3.1"
-
pa_ppx
>= "0.13"
- pa_ppx_ag
- pa_ppx_hashcons
- pa_ppx_migrate
- pa_ppx_migrate_ocaml_parsetree
- pa_ppx_parsetree
-
pa_ppx_q_ast
>= "0.08"
- pa_ppx_quotation2extension
- pa_ppx_regexp
- pa_ppx_static
- pa_ppx_string
- pa_ppx_unique
Conflicts (6)
-
frama-clang
= "0.0.14"
-
lablgl
<= "1.07"
-
matita
<= "0.99.5"
-
p5scm
<= "0.3.1"
-
pa_ppx
< "0.18"
- ocaml-option-bytecode-only
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page