macOS
brew install camlp5local Homebrew formula metadata
sudo port install camlp5MacPorts ports tree · lang/camlp5/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de camlp5 pour les workflows d'agents IA.
installation
brew install camlp5local Homebrew formula metadata
sudo port install camlp5MacPorts ports tree · lang/camlp5/Portfile · Source: api.github.com
sudo apt install camlp5Debian stable package indexes · camlp5 · Source: deb.debian.org
sudo pacman -S camlp5Arch Linux sync databases · camlp5 · Source: geo.mirror.pkgbuild.com
aperçu
Preprocessor and pretty-printer for OCaml
historique
Camlp5 is an OCaml preprocessor and pretty-printer used to extend or redefine OCaml syntax, convert between syntaxes, and build parsing or pretty-printing extensions.
The official Camlp5 about page traces its ideas to Michel Mauny in the 1990s. Daniel de Rauglaudre implemented the first version in 1996 under the name Camlp4, where the four Ps meant Pre-Processor-Pretty-Printer.
In 2002, Camlp4 maintenance moved to Michel Mauny and was later extended by Nicolas Pouillard with different design ideas and some incompatibilities. In 2006, de Rauglaudre restarted the original line of work and renamed it Camlp5.
The current GitHub README says Camlp5 was originally written by Daniel de Rauglaudre, with maintenance and upgrades by Chet Murthy. It also notes a newer 8.x line that differs substantially from the 7.x releases and is tested against modern OCaml versions.
Camlp5 has long lived in the OCaml toolchain's syntax-extension culture. Its official docs describe use as a shell command, as an OCaml compiler preprocessor through -pp, and inside the OCaml toplevel.
The package metadata in this batch shows Camlp5 in Homebrew, Debian, Ubuntu, MacPorts, and Arch, reflecting its role as a durable compatibility package for OCaml projects that still rely on Camlp5 syntax extensions or revised syntax.
Common shell commands include camlp5o for ordinary OCaml syntax and camlp5r for revised syntax. The docs show invoking them through ocamlc -pp and loading camlp5o.cma or camlp5r.cma in the OCaml toplevel.
Developers use Camlp5 to write parsing and printing kits, extensible grammars, quotations, macros, syntax extensions, and pretty-printers. It is also used to convert OCaml programs from one syntax to another and to inspect syntax-extension output.
Camlp5 matters to package nerds because it is both a real tool and an archaeological layer in OCaml packaging. It preserves a branch of the Camlp4 preprocessor tradition that many older OCaml packages and syntax experiments depended on.
It is also a reminder that language ecosystems carry syntax tooling as compatibility debt. Keeping Camlp5 packaged means old source distributions, revised-syntax code, and pre-ppx extension workflows can still be built on modern Unix systems.
posture de sécurité
Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour camlp5. Les métadonnées de paquet Nucleus restent publiées ici afin que la couverture future dispose d'une URL stable.
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
exécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
camlp5 | cli | exécutable global | |
camlp5o | cli | exécutable global | |
camlp5o.opt | cli | exécutable global | |
camlp5r | cli | exécutable global | |
camlp5r.opt | cli | exécutable global | |
camlp5sch | cli | exécutable global | |
mkcamlp5 | cli | exécutable global | |
mkcamlp5.opt | cli | exécutable global | |
ocpp5 | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
https://github.com/camlp5/camlp5
métadonnées d'installation
| Clé du paquet | brew:camlp5 |
|---|---|
| Version | 8.05.02 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/camlp5 |
| Page d'accueil | https://camlp5.github.io/ |
| Dépôt | https://github.com/camlp5/camlp5 |
| Docs amont | https://camlp5.github.io/doc/html |
| Licence | BSD-3-Clause |
| Archive source | https://github.com/camlp5/camlp5/archive/refs/tags/8.05.02.tar.gz |
| Dernière mise à jour | 2026-07-01T00:08:52Z |
| Pulse | updated |
| Dépendances | camlp-streams, ocaml, pcre2 |
| Dépendances de compilation | ocaml-findlib, opam, pkgconf |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | camlp5 |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
camlp5 8.03.01-1+b7
Pre Processor Pretty Printer for OCaml - classical version
sudo apt install camlp5camlp5 8.02.01-2build6
Pre Processor Pretty Printer for OCaml - classical version
sudo apt install camlp5camlp5 8.05.01-1
A preprocessor-pretty-printer of OCaml.
sudo pacman -S camlp5camlp5
sudo port install camlp5piste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.