Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site trwpyr.UUCP Path: utzoo!decvax!ittatc!dcdwest!sdcsvax!sdcrdcf!trwrb!trwrba!trwpyr!ries From: ries@trwpyr.UUCP (Marc Ries) Newsgroups: net.lang.c Subject: Re: C Pretty Printers Message-ID: <34@trwpyr.UUCP> Date: Wed, 2-Apr-86 12:25:26 EST Article-I.D.: trwpyr.34 Posted: Wed Apr 2 12:25:26 1986 Date-Received: Mon, 7-Apr-86 19:08:45 EST Reply-To: ries@trwpyr.UUCP (Marc Ries) Followup-To: <2275@brl-smoke.ARPA> Distribution: na Organization: TRW Operations and Support Group Lines: 27 Keywords: indent is one, but.... > I am looking for a C prettyprinter in the public domain. The > only one I know of is the one in UNIX called cb which I assume is > not pd. Does anyone know if there is a GNU cb and how to get it? > Does anyone know of any other C prettyprinters? I do recall a while back (3mths?) that either the source or mod diffs to the program indent was posted to the net. Indent does alot of gee whiz stuff, but I use it over cb. As for as PD status is, the README file says: "This is the C indenter, it originally came from the University of Illinois via some distribution tape for PDP-11 Unix. It has subsequently been hacked upon by James Gosling @ CMU. It isn't very pretty, and really needs to be completely redone, but it is probably the nicest C pretty printer around." The actual source code(s) include the following: Copyright (C) 1976 by the Board of Trustees of the University of Illinois -- Marc Ries, TRW Operations and Support Group