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


Groups > comp.lang.c > #163222 > unrolled thread

what is that cool program to pronounce a type declaration?

Started byMeredith Montgomery <mmontgomery@levado.to>
First post2021-10-29 01:05 -0300
Last post2021-10-29 16:55 -0300
Articles 7 — 3 participants

Back to article view | Back to comp.lang.c


Contents

  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

#163222 — what is that cool program to pronounce a type declaration?

FromMeredith Montgomery <mmontgomery@levado.to>
Date2021-10-29 01:05 -0300
Subjectwhat is that cool program to pronounce a type declaration?
Message-ID<86v91gjx1k.fsf@levado.to>
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!

[toc] | [next] | [standalone]


#163224

FromKeith Thompson <Keith.S.Thompson+u@gmail.com>
Date2021-10-28 21:30 -0700
Message-ID<87tuh0zc4p.fsf@nosuchdomain.example.com>
In reply to#163222
Meredith Montgomery <mmontgomery@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/

-- 
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 */

[toc] | [prev] | [next] | [standalone]


#163240

FromMeredith Montgomery <mmontgomery@levado.to>
Date2021-10-29 11:44 -0300
Message-ID<86lf2bki19.fsf@levado.to>
In reply to#163224
Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:

> Meredith Montgomery <mmontgomery@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.

[toc] | [prev] | [next] | [standalone]


#163248

FromThiago Adams <thiago.adams@gmail.com>
Date2021-10-29 11:49 -0700
Message-ID<d100098c-8bcf-4da0-8c18-d184c0ab9710n@googlegroups.com>
In reply to#163240
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"

[toc] | [prev] | [next] | [standalone]


#163249

FromKeith Thompson <Keith.S.Thompson+u@gmail.com>
Date2021-10-29 12:14 -0700
Message-ID<87h7czzlrn.fsf@nosuchdomain.example.com>
In reply to#163248
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 */

[toc] | [prev] | [next] | [standalone]


#163251

FromMeredith Montgomery <mmontgomery@levado.to>
Date2021-10-29 16:56 -0300
Message-ID<865ytfiozv.fsf@levado.to>
In reply to#163249
Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:

> 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).

That was clear.  I already have it ready to run from my shell.  Thanks!

[toc] | [prev] | [next] | [standalone]


#163250

FromMeredith Montgomery <mmontgomery@levado.to>
Date2021-10-29 16:55 -0300
Message-ID<86bl37ip1g.fsf@levado.to>
In reply to#163248
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"

Thanks.  That's dcl, section 5.12.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.c


csiph-web