Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #163249

Re: what is that cool program to pronounce a type declaration?

From Keith Thompson <Keith.S.Thompson+u@gmail.com>
Newsgroups comp.lang.c
Subject Re: what is that cool program to pronounce a type declaration?
Date 2021-10-29 12:14 -0700
Organization None to speak of
Message-ID <87h7czzlrn.fsf@nosuchdomain.example.com> (permalink)
References <86v91gjx1k.fsf@levado.to> <87tuh0zc4p.fsf@nosuchdomain.example.com> <86lf2bki19.fsf@levado.to> <d100098c-8bcf-4da0-8c18-d184c0ab9710n@googlegroups.com>

Show all headers | View raw


Thiago Adams <thiago.adams@gmail.com> writes:
> On Friday, October 29, 2021 at 11:46:09 AM UTC-3, Meredith Montgomery wrote:
>> Keith Thompson <Keith.S.T...@gmail.com> writes: 
>> 
>> > Meredith Montgomery <mmont...@levado.to> writes: 
>> >> I once used a very cool program that would parse a type declaration and 
>> >> spell it out in English. For example, given 
>> >> 
>> >> int* x 
>> >> 
>> >> it would say something like 
>> >> 
>> >> x is a pointer to an int. 
>> >> 
>> >> I can't find the name of such program, so I can't install it again. 
>> >> I'm sure you know which one it is. Can you jog my memory? Thank 
>> >> you! 
>> > 
>> > cdecl, also available via a web interface at https://cdecl.org/
>> Oh, of course it had to have gone to the web. Thanks very much, Keith.
>
> A simplified version can be found at the book "C Programming Language"

In case it wasn't clear, cdecl can still be installed as a program to be
run locally; the web site hasn't replaced it.  On Ubuntu and other
Debian derivatives, `apt-get install cdecl`.  Or you can build it from
source: https://github.com/ridiculousfish/cdecl-blocks (there are
probably other versions out there).

-- 
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Working, but not speaking, for Philips
void Void(void) { Void(); } /* The recursive call of the void */

Back to comp.lang.c | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

what is that cool program to pronounce a type declaration? Meredith Montgomery <mmontgomery@levado.to> - 2021-10-29 01:05 -0300
  Re: what is that cool program to pronounce a type declaration? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2021-10-28 21:30 -0700
    Re: what is that cool program to pronounce a type declaration? Meredith Montgomery <mmontgomery@levado.to> - 2021-10-29 11:44 -0300
      Re: what is that cool program to pronounce a type declaration? Thiago Adams <thiago.adams@gmail.com> - 2021-10-29 11:49 -0700
        Re: what is that cool program to pronounce a type declaration? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2021-10-29 12:14 -0700
          Re: what is that cool program to pronounce a type declaration? Meredith Montgomery <mmontgomery@levado.to> - 2021-10-29 16:56 -0300
        Re: what is that cool program to pronounce a type declaration? Meredith Montgomery <mmontgomery@levado.to> - 2021-10-29 16:55 -0300

csiph-web