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=0.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM, FREEMAIL_REPLYTO_END_DIGIT,REPLYTO_WITHOUT_TO_CC,SUBJ_ALL_CAPS autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9c41ceb9ae09ec6d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1995-03-11 08:35:55 PST Path: bga.com!news.sprintlink.net!uunet!in1.uu.net!newstf01.news.aol.com!newsbf02.news.aol.com!not-for-mail From: pug156@aol.com (Pug 156) Newsgroups: comp.lang.ada Subject: Re: ADA FUNCTIONS TO PROCEDURES Date: 11 Mar 1995 11:26:51 -0500 Organization: America Online, Inc. (1-800-827-6364) Sender: root@newsbf02.news.aol.com Message-ID: <3jsj0b$4nn@newsbf02.news.aol.com> References: <3jqjbp$im7@news.rain.org> Reply-To: pug156@aol.com (Pug 156) NNTP-Posting-Host: newsbf02.mail.aol.com Date: 1995-03-11T11:26:51-05:00 List-Id: I have never seen such a tool. But, if one were to write it, it would be required to have the *calling* software submitted to the tool, as well as the subprograms in question. Besides the obvious problem of converting the calls from function notation into procedural, it would have to be able to "unnest" function calls, create the necessary temporary variables for each level of unnesting, and line up the calls to the procedures such that the temporary variables get populated correctly. Not a trivial bit of work. As I don't really have time to gen up this sort of thing, I suggest a professor assign it to the class. Give them access to a parser, so they don't have to sort that bit out.