[comp.lang.c++] New cdecl in comp.sources.unix / comp.lang.c

rsalz@bbn.com (Rich Salz) (05/11/88)

I have just posted a new version of the "cdecl" program in comp.sources.unix.
This version understands C++ syntax.

That is, you can type the following:
    declare x as ptr to character
    declare x as func(w as ptr to char, y as int) ret ptr to int
    explain X::*foo
    explain (int (*)(char *, int, float))x
and get back
    char *x
    int *x(char *w, int y)
    declare foo as pointer to member of class X int
    cast x into pointer to function (pointer to char, int, float) returning int

And so on...
	/rich $alz, moderator thereof
-- 
Please send comp.sources.unix-related mail to rsalz@uunet.uu.net.