macOS
brew install cdecllocal Homebrew formula metadata
sudo port install cdeclMacPorts ports tree · devel/cdecl/Portfile · ソース: api.github.com
brew
cdecl のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install cdecllocal Homebrew formula metadata
sudo port install cdeclMacPorts ports tree · devel/cdecl/Portfile · ソース: api.github.com
sudo apt install cdeclDebian stable package indexes · cdecl · ソース: deb.debian.org
sudo dnf install cdeclFedora Rawhide package metadata · cdecl · ソース: dl.fedoraproject.org
nix profile install nixpkgs#cdeclnixpkgs package indexes · pkgs/by-name/cd/cdecl/package.nix · ソース: api.github.com
sudo zypper install cdeclopenSUSE Tumbleweed package metadata · cdecl · ソース: download.opensuse.org
概要
Turn English phrases to C or C++ declarations
履歴
cdecl is a classic command-line helper for translating between C or C++ declarations and pseudo-English descriptions. The current maintained version also helps develop and debug C preprocessor macros.
The upstream README says cdecl was originally written by Graham Ross sometime in the mid-1980s, and that Tony Hansen posted source with his changes to comp.sources.unix in 1988. The AUTHORS file records a long chain of contributors who added ANSI C, C++ declarations, GNU readline support, Apple blocks, and modern C/C++ language support.
Paul J. Lucas's maintained codebase was created on GitHub in 2017. The README says this codebase fixes deficiencies in earlier versions and adds many features, including Autotools, long options, modern C and C++ language distinctions through C23/C++26, macro expansion, better diagnostics, and extensive type support.
cdecl is one of those small developer tools that survives because C declarator syntax remains hard to read. The Homebrew input records packages in Homebrew, Debian/Ubuntu, Fedora, MacPorts, Nix, and openSUSE-family packaging, matching its role as a long-running Unix developer aid.
Users can run cdecl interactively, pass declarations on the command line, read standard input, or invoke it as c++decl. It explains declarations such as pointers to arrays and emits declarations from English-like commands. The current version also expands macros step by step for preprocessor debugging.
cdecl is package-nerd catnip because it carries living Unix history: mid-1980s origins, 1988 Usenet distribution, unclear inherited source licensing, and modern maintenance that teaches new C and C++ standards to an old interface. It is tiny, weird, useful, and exactly the sort of program distributions keep around.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.cdeclrc$XDG_CONFIG_HOME/cdecl/cdeclrc~/.config/cdecl/cdeclrc$XDG_CONFIG_DIRS/*/cdecl/cdeclrc/etc/xdg/cdecl/cdeclrc実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
c++decl | cli | グローバル実行可能ファイル | |
cdecl | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/paul-j-lucas/cdecl
インストールメタデータ
| パッケージキー | brew:cdecl |
|---|---|
| バージョン | 18.7.2 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/cdecl |
| ホームページ | https://github.com/paul-j-lucas/cdecl |
| リポジトリ | https://github.com/paul-j-lucas/cdecl |
| 上流ドキュメント | https://github.com/paul-j-lucas/cdecl#readme |
| ライセンス | GPL-3.0-or-later AND LGPL-2.1-or-later AND LicenseRef-Homebrew-public-domain |
| ソースアーカイブ | https://github.com/paul-j-lucas/cdecl/releases/download/cdecl-18.7.2/cdecl-18.7.2.tar.gz |
| macOS 提供ライブラリ | ncurses |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cdecl |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
cdecl 2.5-15+b1
Turn English phrases to C or C++ declarations
sudo apt install cdeclcdecl
nix profile install nixpkgs#cdeclcdecl 2.5-13.1build2
Turn English phrases to C or C++ declarations
sudo apt install cdeclcdecl 18.7.2-1.fc45
Translator for C gibberish
https://github.com/paul-j-lucas/cdecl/
sudo dnf install cdeclcdecl 18.7.2-1.2
C/C++ function declaration translator
https://github.com/paul-j-lucas/cdecl/
sudo zypper install cdeclcdecl
sudo port install cdeclソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.