|C++-pretty-printer wanted !!! email@example.com.CH (1994-09-10)|
|Re: C++-pretty-printer wanted !!! smh@Franz.COM (1994-09-14)|
|Re: C++-pretty-printer wanted !!! firstname.lastname@example.org (1994-09-14)|
|Re: C++-pretty-printer wanted !!! email@example.com (1994-09-17)|
|Re: C++-pretty-printer wanted !!! firstname.lastname@example.org (1994-10-07)|
|Re: C++-pretty-printer wanted !!! email@example.com (1994-10-14)|
|From:||firstname.lastname@example.org (Ronald F. Guilmette)|
|Organization:||Netcom Online Communications Services (408-241-9760 login: guest)|
|Date:||Wed, 14 Sep 1994 15:35:24 GMT|
>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).
Actually, GNU Indent works ok with C++ code (I think). I've formatted
*some* C++ code with it, and it seems to work.
But there were quite a number of bugs in the current released version
(1.9.1) for *both* C and C++... mostly relating to operators. For my
own work, I've fixed all of those I found, and added additional support
for the C++ specific operators.
I'll be happy to mail patches (relative to 1.9.1) to anyone who wants them.
-- Ron Guilmette, Sunnyvale, CA ---------- RG Consulting -------------------
---- domain addr: email@example.com ----------- Purveyors of Compiler Test ----
---- uucp addr: ...!uunet!netcom!rfg ------- Suites and Bullet-Proof Shoes -
Return to the
Search the comp.compilers archives again.