Automic VaultAutomic Vault

brew

camlp5 を Homebrew, apt, MacPorts, pacman でインストール

camlp5 のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install camlp5

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install camlp5

MacPorts ports tree · lang/camlp5/Portfile · ソース: api.github.com

概要

パッケージ概要

Preprocessor and pretty-printer for OCaml

コマンドとエイリアス

  • camlp5
  • camlp5o
  • camlp5o.opt
  • camlp5r
  • camlp5r.opt
  • camlp5sch
  • mkcamlp5
  • mkcamlp5.opt
  • ocpp5

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 1990s: Michel Mauny expresses ideas that later feed into Camlp5.
  • 1996: Daniel de Rauglaudre implements the first version as Camlp4.
  • 2002: Camlp4 maintenance moves and later evolves with incompatible design changes.
  • 2006: Daniel de Rauglaudre restarts the original line as Camlp5.
  • 2016: camlp5/camlp5 GitHub repository is created.
  • 2021: Camlp5 8.00 release appears in the GitHub releases feed.
  • 2026: Current repository activity shows ongoing maintenance for modern OCaml compatibility.

Related projects

  • Camlp4 is the predecessor and divergence point described by the official Camlp5 history.
  • OCaml is the language and compiler toolchain Camlp5 preprocesses.
  • The OCaml ppx ecosystem is the modern comparison point for many syntax-extension workflows, although Camlp5 remains its own preprocessor line.
  • JoCaml is mentioned in the GitHub README as historically supported by older Camlp5 versions.

セキュリティ状態

保護ツール対応はまだ見つかっていません

camlp5 に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • 3 件の実行時依存関係とともにインストールされます。
  • ビルドメタデータには 3 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
camlp5cliグローバル実行可能ファイル
camlp5ocliグローバル実行可能ファイル
camlp5o.optcliグローバル実行可能ファイル
camlp5rcliグローバル実行可能ファイル
camlp5r.optcliグローバル実行可能ファイル
camlp5schcliグローバル実行可能ファイル
mkcamlp5cliグローバル実行可能ファイル
mkcamlp5.optcliグローバル実行可能ファイル
ocpp5cliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-10
マネージャ版8.05.02
マネージャ更新日2026-07-01
ローカルデータOK
上流最新
検出された最新8.05.02

https://github.com/camlp5/camlp5

  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:camlp5
バージョン8.05.02
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/camlp5
ホームページhttps://camlp5.github.io/
リポジトリhttps://github.com/camlp5/camlp5
上流ドキュメントhttps://camlp5.github.io/doc/html
ライセンスBSD-3-Clause
ソースアーカイブhttps://github.com/camlp5/camlp5/archive/refs/tags/8.05.02.tar.gz
最終更新2026-07-01T00:08:52Z
Pulseupdated
依存関係camlp-streams, ocaml, pcre2
ビルド依存関係ocaml-findlib, opam, pkgconf
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecamlp5
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

camlp5 8.03.01-1+b7

Pre Processor Pretty Printer for OCaml - classical version

https://camlp5.github.io/

sudo apt install camlp5
  • Section: ocaml
  • Architecture: amd64
  • Source Package: camlp5
  • 13 依存関係
  • 1 提供
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Camlp5
Debian stable package indexes · deb.debian.org · Debian stable package indexes: camlp5 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

camlp5 8.02.01-2build6

Pre Processor Pretty Printer for OCaml - classical version

https://camlp5.github.io/

sudo apt install camlp5
  • Section: universe/devel
  • Architecture: amd64
  • 13 依存関係
  • 1 提供
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Camlp5
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: camlp5 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
pacman95%

camlp5 8.05.01-1

A preprocessor-pretty-printer of OCaml.

https://camlp5.github.io/

sudo pacman -S camlp5
  • License: BSD-3-Clause
  • Architecture: x86_64
  • 5 依存関係
  • normalized package name match
  • 一致条件: Camlp5
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: camlp5 from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

camlp5

sudo port install camlp5
  • normalized package name match
  • 一致条件: Camlp5
MacPorts ports tree · api.github.com · MacPorts ports tree: lang/camlp5/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment