rogers@sud509.ed.ray.com (Andrew Rogers) (07/17/90)
Remember CTYPE? It was a public-domain program (apparently quite old by the time I first saw it in 1985) which served as an English-to-C (and back again) translator. You could type something like declare foo as array 4 of pointer to function returning int and it would reply int (*foo[4])(); I understand that someone has recently expanded CTYPE to handle full ANSI C, including function prototypes, etc. Does anyone have this version (or even the original), or know where it is available? Thanks, Andrew W. Rogers
swh@hpcupt1.HP.COM (Steve Harrold) (07/18/90)
>>> Remember CTYPE? It was a public-domain program (apparently quite old by the >>> time I first saw it in 1985) which served as an English-to-C (and back again >>> translator. You could type something like >>> >>> declare foo as array 4 of pointer to function returning int >>> >>> and it would reply >>> >>> int (*foo[4])(); ---------- Look for this program under the name CDECL. It has been posted on the net recently (i.e. last 6 months), but I don't remember which group (comp.lang.c sounds like a good bet)
frotz@drivax.UUCP (Frotz) (07/20/90)
rogers@sud509.ed.ray.com (Andrew Rogers) writes:
] Remember CTYPE? It was a public-domain program (apparently quite old by the
] time I first saw it in 1985) which served as an English-to-C (and back again)
] translator. You could type something like
This is now called CDECL. Let me know if you can't find it. I have to
look to see if I can find the source to it...
--
Frotz