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
gdtltr@freezer.it.udel.edu (Gary Duzan) (07/20/90)
In article <1767@sud509.ed.ray.com> rogers@sud509.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 => => 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 You should be able to get cdecl (which seems to do the job) from the comp.sources.unix (or is it .misc?) archive on uunet. I believe they also have c++decl. Gary Duzan Time Lord Third Regeneration -- gdtltr@freezer.it.udel.edu _o_ -------------------------- _o_ [|o o|] If you can square, round, or cube a number, why not sphere it? [|o o|] |_O_| "Don't listen to me; I never do." -- Doctor Who |_O_|