Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84 SMI; site sun.uucp Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!ucbvax!decvax!decwrl!sun!guy From: guy@sun.uucp (Guy Harris) Newsgroups: net.lang.f77 Subject: Re: struct Message-ID: <2840@sun.uucp> Date: Sat, 28-Sep-85 03:10:17 EDT Article-I.D.: sun.2840 Posted: Sat Sep 28 03:10:17 1985 Date-Received: Mon, 30-Sep-85 02:10:37 EDT References: <157@aplvax.UUCP> Organization: Sun Microsystems, Inc. Lines: 15 > Under BSD 4.1 there is a program "struct" which converts unstructured > fortran code into structured ratfor. Actually, it came with V7. It will probably work under any modern (i.e., V7 or post-V7) UNIX with little or no change, assuming sizeof(int) == sizeof(any pointer). If you have a machine where they aren't the same, you may have to do a fair bit of "lint"ing to make it work. > The only lead I can find is to an internal Bell memo by B. S. Baker > referred to in the ratfor section of the Unix Programming Manual 2b. "An Algorithm for Structuring Flowgraphs", Brenda S. Baker, Journal of the ACM, Vol. 24, No. 1, January 1977, pp. 98-120. Guy Harris