Re: Looking for C declaration parser

rankin@eql.caltech.edu (Pat Rankin)
Tue, 7 Feb 1995 22:51:00 GMT

          From comp.compilers

Related articles
Looking for C declaration parser lehotsky@max.tiac.net (1995-02-06)
Re: Looking for C declaration parser agesen@Xenon.Stanford.EDU (1995-02-06)
Re: Looking for C declaration parser flisakow@cae.wisc.edu (1995-02-06)
Re: Looking for C declaration parser vinall@VNET.IBM.COM (1995-02-07)
Re: Looking for C declaration parser rankin@eql.caltech.edu (1995-02-07)
Re: Looking for C declaration parser kik@ironwood.cray.com (1995-02-08)
Re: Looking for C declaration parser probertm@ariz.library.ucsb.edu (1995-02-11)
Re: Looking for C declaration parser jejones@microware.com (1995-02-13)
| List of all articles for this month |

Newsgroups: comp.compilers
From: rankin@eql.caltech.edu (Pat Rankin)
Keywords: tools, C
Organization: California Institute of Technology
References: 95-02-067
Date: Tue, 7 Feb 1995 22:51:00 GMT

lehotsky@max.tiac.net (Alan Lehotsky) writes...
> I'm looking for a tool that parses C declarations [...]
> There used to be a program called 'explain' that read C declarations
> and "explained them". I went looking in the uunet archives and
> couldn't find anything appropriate. Anybody else got ideas?


          The program you're referring to is called "cdecl" and it is
available in volume 14 of the comp.sources.unix archives. Its two
main subcommands are "declare" and "explain", and I imagine the
latter is what you remembered.


          I don't think it has any support for structures and unions.


Pat Rankin, rankin@eql.caltech.edu
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.