Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site watcgl.UUCP Path: utzoo!watmath!watnot!watcgl!mwherman From: mwherman@watcgl.UUCP (Michael W. Herman) Newsgroups: net.lang.c,net.lang.st80,net.wanted.sources Subject: Wanted:program which creates a C++ function declaration manifest file ... Message-ID: <1811@watcgl.UUCP> Date: Mon, 13-May-85 17:06:59 EDT Article-I.D.: watcgl.1811 Posted: Mon May 13 17:06:59 1985 Date-Received: Tue, 14-May-85 00:07:37 EDT Distribution: net Organization: Computer Graphics Laboratory, U of Waterloo, Ontario Lines: 35 Xref: watmath net.lang.c:5202 net.lang.st80:229 net.wanted.sources:862 for set of regular C functions given only the list of regular C source files that define the functions. Basically, the problem is to take a regular C source file containing: double foo(a, b, c) { int a; char b; char* c; { b = c[a]; return 3.14159 * (int)b; } and form the C++ function declaration: double foo(int, char, char*); I have a yacc grammar for C that I will probably start with but I would like to hear from EVERYONE who has done something similar. Thanks in advance. Michael Herman Computer Graphics Laboratory Department of Computer Science University of Waterloo Waterloo, Ontario, Canada N2L 3G1 UUCP: {allegra,ihnp4,watmath}!watcgl!mwherman -or- {cbosgd,clyde,decvax,linus,tektronix,utcsrgv}!watmath!watcgl!mwherman CSNET: mwherman%watcgl@waterloo.CSNET ARPA: mwherman%watcgl%waterloo.CSNET@csnet-relay.ARPA