From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,89104df3f4c230ff X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-07-19 16:34:29 PST Message-ID: <3D389EC1.3C5CF71C@sympatico.ca> From: David Marceau X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.17-10mdksmp i686) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: source beautifier References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 19 Jul 2002 19:20:33 -0400 NNTP-Posting-Host: 65.92.165.103 X-Complaints-To: abuse@sympatico.ca X-Trace: news20.bellglobal.com 1027121240 65.92.165.103 (Fri, 19 Jul 2002 19:27:20 EDT) NNTP-Posting-Date: Fri, 19 Jul 2002 19:27:20 EDT Organization: Bell Sympatico Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!torn!webster!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail Xref: archiver1.google.com comp.lang.ada:27254 Date: 2002-07-19T19:20:33-04:00 List-Id: Jan Prazak wrote: > > Hello, > > does a source code beautifier exist for Ada? > I have searched for it in Google and AdaPower, and found nothing. > > Jan These are the alternatives that I know you might want to try: 1)programmer's editor/emacs/vi/ghostscript Have you tried opening your ada file within emacs, select all and then indent-region(adjusts all the lines to be indented properly) ? Have you tried printing from emacs? From what I understand about source code beautifiers, emacs/ghostscript have both color/black and white and highlight keywords. It also does n-up printing meaning printing more than one source code page on one printed page. I usually 2-up/both sides of a page when I can to save trees. 2)Use gnathtml This produces a beautified html documentation of the source code along with an index. This also highlights keywords. Then you print what you want from your web browser. 3)use adabrowse This also produces a beautified html documentation of the source code along with an index. This one uses ASIS to produce it. This also highlights keywords. It does resemble the java documentation style because that was the intent. Then you print what you want from your web browser. 4)use raincode It not only beautifies but also code-metrics'fies among other things and combines the output of both in a well-organized html documentation with an index. I hope this helps. Cheers, David Marceau