cdecl

Turn English phrases to C or C++ declarations

Install

All systems
curl cmd.cat/cdecl.sh
Debian Debian
apt-get install cdecl
Ubuntu
apt-get install cdecl
image/svg+xml Kali Linux
apt-get install cdecl
Windows (WSL2)
sudo apt-get update sudo apt-get install cdecl
OS X
brew install cdecl
Raspbian
apt-get install cdecl

cdecl

Turn English phrases to C or C++ declarations

Cdecl is a program which will turn English-like phrases such as "declare foo as array 5 of pointer to function returning int" into C declarations such as "int (*foo[5])()". It can also translate the C into the pseudo- English. And it handles typecasts, too. Plus C++. And in this version it has command line editing and history with the GNU readline library.

cutils

C source code utilities

This package contains several utilities which may be useful to developers of C source code utilities, namely: cdecl and cundecl - decode and encode C type declarations cobfusc - make a C source file unreadable but compilable chilight - highlight C source files cunloop - unloop C loops yyextract - extract grammar rules from yacc grammar yyref - yacc grammar reference program