Command-line tool
cdecl
brew/cdecl
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Turn English phrases to C or C++ declarations
At a glance
- Type
- Command-line tool
- Install on
- macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
macOS
brew install cdecl
Linux
brew install cdecl
Compose English phrase into C declaration, and create [c]ompilable output (include `;` and `{}`)
cdecl -c phrase
Explain C declaration in English
cdecl explain C_declaration
Cast a variable to another type
cdecl cast variable_name to type
Related command-line tools
- phrase-cli
Tool to interact with the Phrase API - json2ts
Compile JSONSchema to TypeScript type declarations - dtsroll
CLI tool for bundling TypeScript declaration files - witty-phrase-generator
Generates witty three-word phrases suitable for memorable default names. - Phrase Strings CLI
Phrase Strings CLI (Windows package; no description in the winget index) translate translation 翻译 cat 计算机辅助翻译 - melt
Backup and restore Ed25519 SSH keys with seed words - mlt
Author, manage, and run multitrack audio/video compositions - phraseexpress
Autotext and Text Autocompletion in any application.
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents