Re: C++-pretty-printer wanted !!!

euambn@eua.ericsson.se (Michael Bergman)
Sat, 17 Sep 1994 05:00:06 GMT

          From comp.compilers

Related articles
C++-pretty-printer wanted !!! fgr@eup.siemens-albis.CH (1994-09-10)
Re: C++-pretty-printer wanted !!! smh@Franz.COM (1994-09-14)
Re: C++-pretty-printer wanted !!! rfg@netcom.com (1994-09-14)
Re: C++-pretty-printer wanted !!! euambn@eua.ericsson.se (1994-09-17)
Re: C++-pretty-printer wanted !!! henrik@atlas.sto.foa.se (1994-10-07)
Re: C++-pretty-printer wanted !!! rfg@netcom.com (1994-10-14)
| List of all articles for this month |
Newsgroups: comp.compilers,comp.lang.c++
From: euambn@eua.ericsson.se (Michael Bergman)
Keywords: C++
Organization: Ellemtel Telecom Systems Labs, Stockholm, Sweden
References: 94-09-018
Date: Sat, 17 Sep 1994 05:00:06 GMT

Fohringer Joerg EUQ4 (fgr@eup.siemens-albis.CH) wrote:


>I'm looking for a C++-pretty-printer that reads any ugly
>C++-sourcefile and formats it to a nice, correctly indented
>sourcefile. There are several programs for C-code (such as indent),
>but I couldn't find one for C++. The program should work with UNIX
>(on a SUN).


You can look into this one:


indent++.tar.Z


It's more or less an extendend indent I think. I've got it but haven't
tried it yet. There *may* be some initial problems getting it to compile,
there is a function in args.c: fopenenv(char *, char *, char *)
which may not exist in your system. I don't know any details, sorry.


My archie session didn't find it anywhere so email me if you want it
and I'll mail it to you.


Regards,
M
--
Michael Bergman Email: euambn@eua.ericsson.se
EUA/XO Phone: +46 8 7275709
Ellemtel Telecom Systems Labs, Armborstv 14, S-125 25 Alvsjo, Sweden
--


Post a followup to this message

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