home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.c      Meh, in C you gotta define EVERYTHING      243,242 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 241,412 of 243,242   
   Keith Thompson to All   
   New and improved version of cdecl   
   22 Oct 25 14:39:43   
   
   XPost: comp.lang.c++   
   From: Keith.S.Thompson+u@gmail.com   
      
   This is cross-posted to comp.lang.c and comp.lang.c++.   
   Consider redirecting followups as appropriate.   
      
   cdecl, along with c++decl, is a tool that translates C or C++   
   declaration syntax into English, and vice versa.  For example :   
      
       $ cdecl   
       Type `help' or `?' for help   
       cdecl> explain const char *foo[42]   
       declare foo as array 42 of pointer to const char   
       cdecl> declare bar as pointer to function (void) returning int   
       int (*bar)(void )   
      
   It's also available via the web site .   
      
   The original version of cdecl was posted on comp.sources.unix, probably   
   in the 1980s.   
      
   "ridiculous_fish" added support for Apple's blocks syntax.  That   
   version, 2.5, is the one that's most widely available (it's provided by   
   the "cdecl" package on Debian and Ubuntu) and used by the cdecl.org   
   website.   
      
   There's a newer fork of cdecl, available in source code at   
      
   https://github.com/paul-j-lucas/cdecl/   
      
   It supports newer versions of C and C++ and adds a number of   
   new features.  See the README.md file, visible at the above URL,   
   for more information.  (It doesn't support Apple's block syntax.)   
      
   There doesn't seem to be a binary distribution, but the latest   
   source tarball is at   
      
   https://github.com/paul-j-lucas/cdecl/releases/download/cdecl-18   
   5/cdecl-18.5.tar.gz   
      
   It can be built on Unix-like systems with the usual "./configure;   
   make; make install" sequence.  To build from a copy of the git repo,   
   run "./bootstrap" first to generate the "configure" script.   
      
   --   
   Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com   
   void Void(void) { Void(); } /* The recursive call of the void */   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca