macOS
brew install cdecllocal Homebrew formula metadata
sudo port install cdeclMacPorts ports tree · devel/cdecl/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de cdecl pour les workflows d'agents IA.
installation
brew install cdecllocal Homebrew formula metadata
sudo port install cdeclMacPorts ports tree · devel/cdecl/Portfile · Source: api.github.com
sudo apt install cdeclDebian stable package indexes · cdecl · Source: deb.debian.org
sudo dnf install cdeclFedora Rawhide package metadata · cdecl · Source: dl.fedoraproject.org
nix profile install nixpkgs#cdeclnixpkgs package indexes · pkgs/by-name/cd/cdecl/package.nix · Source: api.github.com
sudo zypper install cdeclopenSUSE Tumbleweed package metadata · cdecl · Source: download.opensuse.org
aperçu
Turn English phrases to C or C++ declarations
historique
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.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
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.
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/cdeclrcexécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
c++decl | cli | exécutable global | |
cdecl | 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/paul-j-lucas/cdecl
métadonnées d'installation
| Clé du paquet | brew:cdecl |
|---|---|
| Version | 18.7.2 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/cdecl |
| Page d'accueil | https://github.com/paul-j-lucas/cdecl |
| Dépôt | https://github.com/paul-j-lucas/cdecl |
| Docs amont | https://github.com/paul-j-lucas/cdecl#readme |
| Licence | GPL-3.0-or-later AND LGPL-2.1-or-later AND LicenseRef-Homebrew-public-domain |
| Archive source | https://github.com/paul-j-lucas/cdecl/releases/download/cdecl-18.7.2/cdecl-18.7.2.tar.gz |
| Bibliothèques fournies par macOS | ncurses |
| 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 | 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 |
|
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.
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 cdeclpiste 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.