Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!kowalski From: kowalski@svax.cs.cornell.edu (Jeffrey Kowalski) Newsgroups: comp.sys.mac.programmer Subject: Re: MPW C 3.0 code beautifier Message-ID: <34304@cornell.UUCP> Date: 15 Nov 89 22:29:43 GMT References: <318@hermix.UUCP> <10662@claris.com> Sender: nobody@cornell.UUCP Reply-To: kowalski@acacia.cadif.cornell.edu (Jeffrey Kowalski) Organization: Cornell Univ. Graphics Lab : CADIF, Ithaca NY Lines: 36 Keywords: indent beautify tool MPW C In article <10662@claris.com> drc@claris.com (Dennis Cohen) writes: >lance@hermix.UUCP (Lance Ellinghouse) writes: > >>Does anyone have a MPW Tool for cleaning up and reformatting >>C 3.0 (ANSI) code? >Yes, it is published by MMC AD Systems and is called "C Programmer's >Toolbox/MPW". It consists of 20 tools including CPrint (the one you >requested). The retail list price is $295. All the tools support a >very nice Commando interface. > >>I can write one up, but it will take time from a project that needs >>to be done... (I have over 150K lines of C code to work on and it is done >>by a number of different people with different coding conventions). > >>Source code would be great! That way I could change it (if necessary) >>to my format/style. >The sources to the unix tool, indent, is available from the uumac net archive. >It looks like it could be ported to MPW without too many difficulties, but >maintenance could be a nightmare as the code looked like coiled vermicelli >to me -- which was the reason I went with a commercial, supported product. > >Dennis Cohen >Claris Corp. Why not get the one from GNU? Geez, it's free, tastes great and is less filling! Anonymous login to prep.ai.mit.edu, then cd to u2/emacs. Bin get indent-1.1.tar.Z then uncompress and tar extract. Yes, there are one or two things to make the code work as a tool, but nothing major. It was the first thing I ported to MPW. Mail me if you get stuck. DO NOT pay ca. $300 for a formatting utility that's out in the PD. Geez. Jeff Kowalski (jeff@acacia.cadif.cornell.edu or AppleLink U1309) "Opinions expressed don't even belong to me so buzz off"