[comp.lang.c++] Is there a cb++ out there somewhere?

johnson@dover.dab.ge.com (Christopher Johnson) (05/25/91)

Greetings...

I am looking for a C beautifier-type program for C++.  We need
a filter to help us line up our code and braces and other
goodies.  I don't know what effects (hidden or otherwise) the
regular UNIX 'cb' program would have on C++.  Any ideas?

BTW, public domain is always nice ;-)

Thanks!

Christopher Johnson
GE Simulation and Control Systems Department
johnson@dover.dab.ge.com

UH2@psuvm.psu.edu (Lee Sailer) (05/25/91)

1.  Some people write a script that substitutes XXX for :: and YYY for //,
then send the result thru their current pretty printer, and then
replace the XXX with :: and YYY with //.  Voila!.  Cello!

2.  I've got the source to Gnu indent, and I've been meaning to see how
hard it would be to add this to the code.  But I've never been in there
before, and have other pressing things to do to feed my family.
Perhaps another ? ...