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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ef1eddba1e2ec078 X-Google-Attributes: gid103376,public From: jcn@swl.msd.ray.com (John Norcross {83602}) Subject: Re: Ada -> Flowchart? Date: 1998/01/28 Message-ID: <6aoic5$of7@swlpns.msd.ray.com>#1/1 X-Deja-AN: 320128734 References: <199801211148.MAA09958@olaris.misil> <34CFB5E2.D28FD138@eng.auburn.edu> Organization: Raytheon Company Newsgroups: comp.lang.ada Date: 1998-01-28T00:00:00+00:00 List-Id: James Cross writes: >Fredrik Thoernblad wrote: >> I'm often involved with reading old ada code and trying to figure out >> what the code actually does. This is always painful and boring... >> One way of understanding the logical flow of the code is to make a >> flowchart of the code. The problem is that so far I've had to do this >> by hand. I'm looking for a tool that will do this automatically, i e >> in with the code and out comes the flowchart. >> Has anyone seen a tool like this? Does it exist? >> If you have any clues to where and how to get my hands on a tool like >> this, please drop me a note! >> Otherwise I might also be interested in finding a lex/yacc ada parser, >> that way I might be able to make one myself. I just don't want to build >> the parser myself... >> >> Fredrik (fredrik.thornblad@bfs.bofors.se) >As an alternative to bulky flowcharts, you might consider Control >Structure >Diagrams (CSDs) which are automatically generated in the GRASP >environment. >Please see http://www.eng.auburn.edu/grasp for examples and downloading. >GRASP is distributed freely by Auburn University. >James Cross (cross@eng.auburn.edu) Hate to post a "me too", but I've been using Grasp to generate and print listings used in code reviews for the past few months. I can personally vouch for its ability to aid considerably in improving the readability and understandability of Ada source. It has been so well received by all here that we are now using it to generate all code review listings. If you haven't tried Grasp, you are missing out! It's available for almost every platform (PC-NT/Win95, SUNOS, SOLARIS, IRIX to name a few...) It's also free! http://www.eng.auburn.edu/grasp Highly recommended! --John ------------------------------------------------------------------------ |John Norcross | EFOGM Huntsville | 205.772.4795 | jcn@swl.msd.ray.com | ------------------------------------------------------------------------