macOS
brew install cdecllocal Homebrew formula metadata
sudo port install cdeclMacPorts ports tree · devel/cdecl/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für cdecl in AI-Agent-Workflows.
Installation
brew install cdecllocal Homebrew formula metadata
sudo port install cdeclMacPorts ports tree · devel/cdecl/Portfile · Quelle: api.github.com
sudo apt install cdeclDebian stable package indexes · cdecl · Quelle: deb.debian.org
sudo dnf install cdeclFedora Rawhide package metadata · cdecl · Quelle: dl.fedoraproject.org
nix profile install nixpkgs#cdeclnixpkgs package indexes · pkgs/by-name/cd/cdecl/package.nix · Quelle: api.github.com
sudo zypper install cdeclopenSUSE Tumbleweed package metadata · cdecl · Quelle: download.opensuse.org
Überblick
Turn English phrases to C or C++ declarations
Verlauf
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.
Sicherheitslage
narrow executable package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
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/cdeclrcExecutables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
c++decl | cli | globales Executable | |
cdecl | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/paul-j-lucas/cdecl
Installationsmetadaten
| Paketschlüssel | brew:cdecl |
|---|---|
| Version | 18.7.2 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/cdecl |
| Homepage | https://github.com/paul-j-lucas/cdecl |
| Repository | https://github.com/paul-j-lucas/cdecl |
| Upstream-Dokumentation | https://github.com/paul-j-lucas/cdecl#readme |
| Lizenz | GPL-3.0-or-later AND LGPL-2.1-or-later AND LicenseRef-Homebrew-public-domain |
| Quellarchiv | https://github.com/paul-j-lucas/cdecl/releases/download/cdecl-18.7.2/cdecl-18.7.2.tar.gz |
| Von macOS bereitgestellte Bibliotheken | ncurses |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| 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 |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
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 cdeclQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.