BSD Ports

devel/cdecl 2.5nb3 NetBSD

Utility to explain and compose C and C++ declarations

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Categories
devel
Package size
24.8 KiB, 112.7 KiB installed

Description

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.

In the other systems

SystemPortVersion
NetBSDdevel/cdecl2.5nb3
FreeBSDdevel/cdecl18.5

Install

Binary package:

pkgin install cdecl

From pkgsrc:

cd /usr/pkgsrc/devel/cdecl && make install clean

Dependencies

Run dependencies 1

No port depends on this one.