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: Fri, 11 Jun 2010 07:13:47 -0500 From: Brian Drummond Newsgroups: comp.lang.ada Subject: Re: Generic package with dynamic subprogram name? Date: Fri, 11 Jun 2010 13:19:44 +0100 Reply-To: brian@shapes.demon.co.uk Message-ID: <5t9416tdffm3n8tieb7gmv7p4bfkj70p8t@4ax.com> References: <82eigfnxzc.fsf@stephe-leake.org> <82r5kendg8.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-NGPrzgLCAkPAVFdkBz0MTgSvvQAJP7gK9E0aB3Ur1C0qOrzA2tTRW6lqYEhk5ilv0NkBvW29vCv/Q0g!S0xRaYMZTa2zs8+ov5Zss/8uXg/zYoAEYvBuVM+6qAiUX2EOQTnFKe/XHQmTA5FQ6ZdhTGRq8UG+!xbxv 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:12614 Date: 2010-06-11T13:19:44+01:00 List-Id: On Fri, 11 Jun 2010 05:08:55 -0400, Stephen Leake wrote: >Brian Drummond writes: > >> On Thu, 10 Jun 2010 03:33:11 -0400, Stephen Leake >> wrote: >>>Using an ASIS application to generate code would be another way. >> >> Any pointers (uh, references) where to learn ASIS for this purpose? >I'm not aware of any tutorials. > >gnatstub (included in all GNAT distributions) is a small ASIS >application that can serve as a good starting point. > >auto_text_io (which I wrote) >(http://www.stephe-leake.org/ada/auto_text_io.html) is a larger example. Thanks to all for these suggestions, especially yourself, and JP Rosen for adasubst. Avatox looks interesting but I'm not learning XML just for this! So auto_text_io looks like the best starting point for me. I have no definite purpose in mind, but some interest in the possibility of transforming simple Ada mathematical code into behavioral VHDL. Mostly because I am appalled at the current trends toward using C to design hardware! - Brian