Automic VaultAutomic Vault

brew

cpp-peglib を Homebrew, MacPorts でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install cpp-peglib

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install cpp-peglib

MacPorts ports tree · devel/cpp-peglib/Portfile · ソース: api.github.com

概要

パッケージ概要

Header-only PEG (Parsing Expression Grammars) library for C++

コマンドとエイリアス

  • peglint

履歴

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

cpp-peglib is Yuji Hirose's single-header C++ PEG parser library. It packages Parsing Expression Grammar support as a C++17 header-only dependency, with peglint as the command-line tool exposed by the Homebrew formula.

プロジェクトの歴史

The public GitHub repository was created in February 2015. Upstream describes the project as a C++17 header-only PEG library that can be used by including peglib.h directly in a project.

The README documents support for packrat parsing, left-recursive grammars, semantic actions, grammar loading, and an online PEG Playground. That positioning makes the project attractive to users who want parser-combinator-like ergonomics without a generated parser build step.

採用の歴史

The supplied package facts list Homebrew and MacPorts. Header-only C++ libraries are often consumed directly from source, so package-manager adoption mainly helps users install the header and peglint consistently.

使われ方

cpp-peglib is used to embed PEG grammars into C++ applications, build small DSL parsers, and lint grammar definitions. Upstream examples show calculator grammars, semantic actions, error logging, token boundaries, predicates, and packrat parsing.

パッケージ好きにとっての重要性

For package maintainers, cpp-peglib is a tidy example of a header-only C++ library with a useful companion executable. Its C++17 requirement and pthread note for some Linux distributions are the main packaging details.

タイムライン

  • 2015: Public GitHub repository created.
  • 2015: Early upstream tags include v0.1.x releases.
  • 2026: Upstream releases include v1.12.0.

Related projects

  • The README links cpp-peglib to Parsing Expression Grammars and packrat parsing literature.
  • PEG Playground is the upstream online demonstration for cpp-peglib.

セキュリティ状態

リスクレベル: グリーン

library-like package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • library-like package without higher-risk signals

信号

  • metadata:library-like

インストール挙動

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

推奨レビュー

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

実行可能ファイル

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

コマンド種類公開範囲メモ
peglintcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

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

ページ生成日2026-07-25
マネージャ版1.15.0
マネージャ更新日2026-07-03
ローカルデータOK
上流最新
検出された最新v1.15.0

https://github.com/yhirose/cpp-peglib

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

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:cpp-peglib
バージョン1.15.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/cpp-peglib
ホームページhttps://yhirose.github.io/cpp-peglib/
リポジトリhttps://github.com/yhirose/cpp-peglib
上流ドキュメントhttps://github.com/yhirose/cpp-peglib#readme
ライセンスMIT
ソースアーカイブhttps://github.com/yhirose/cpp-peglib/archive/refs/tags/v1.15.0.tar.gz
最終更新2026-07-03T00:29:13Z
Pulseupdated
ビルド依存関係cmake
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

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

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

MacPorts95%

cpp-peglib

sudo port install cpp-peglib
  • normalized package name match
  • 一致条件: Cpp Peglib
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/cpp-peglib/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