OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: NEW: lang/cdecl

From: Paul Irofti (bulibutasdf.lonestar.org)
Date: Mon Aug 25 2008 - 05:50:35 CDT


On Sat, Aug 23, 2008 at 09:21:23PM +0200, Thomas Pfaff wrote:
> $ cat pkg/DESCR
> 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++.
>
> Tested on i386 and amd64. Please test and comment.
>

That's already in ports, see devel/cutils.

--
bulibutasdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org