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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,943350d29d278e69 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.bt.com!news.bt.com.POSTED!not-for-mail NNTP-Posting-Date: Thu, 10 Jun 2010 05:08:22 -0500 From: Brian Drummond Newsgroups: comp.lang.ada Subject: Re: Generic package with dynamic subprogram name? Date: Thu, 10 Jun 2010 11:14:18 +0100 Reply-To: brian@shapes.demon.co.uk Message-ID: References: <82eigfnxzc.fsf@stephe-leake.org> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Usenet-Provider: http://www.giganews.com X-AuthenticatedUsername: NoAuthUser X-Trace: sv3-POdvx7oAkU0v9zzruoohs3hdc0MQqZrKTXZwMm/YrQBpp4kZ0jf+9EVCdbiJ7Hs/CJfDHWnL8Dut4up!UQbi20N3yTluV309ZOIAkPcekWNCw0czPnWWeN7+MRQ3MI/2iiCoaZrhtkDN+25nHD0AkBd6gPjf!w9Q= X-Complaints-To: abuse@btinternet.com X-DMCA-Complaints-To: abuse@btinternet.com X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 Xref: g2news2.google.com comp.lang.ada:12543 Date: 2010-06-10T11:14:18+01:00 List-Id: On Thu, 10 Jun 2010 03:33:11 -0400, Stephen Leake wrote: >Marek Janukowicz writes: >> I understand things I ask about in the subject are most likely not possible, >> but is there any other way to achieve what I want? > >Renames was suggested. Writing all of those can get tedious, and >probably defeats the purpose of the generic. > >Using an ASIS application to generate code would be another way. Any pointers (uh, references) where to learn ASIS for this purpose? I've always understood ASIS as being used to analyze Ada, not generate it... If there is a tutorial somewhere using ASIS to generate co... source program text, I'd be interested to see it. - Brian