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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,943350d29d278e69 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news2.google.com!goblin1!goblin.stu.neva.ru!eternal-september.org!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: Generic package with dynamic subprogram name? Date: Fri, 11 Jun 2010 11:55:16 +0200 Organization: Adalog Message-ID: References: <82eigfnxzc.fsf@stephe-leake.org> <82r5kendg8.fsf@stephe-leake.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Injection-Date: Fri, 11 Jun 2010 09:55:23 +0000 (UTC) Injection-Info: mx03.eternal-september.org; posting-host="Dn22F68J9CHYFQQlT81DGA"; logging-data="28810"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/A+kGGIEasHFFYSfADQ1uq" User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) In-Reply-To: <82r5kendg8.fsf@stephe-leake.org> Cancel-Lock: sha1:64lQeVe1FaoM7sMHTzUw73HZ/l0= Xref: g2news1.google.com comp.lang.ada:11637 Date: 2010-06-11T11:55:16+02:00 List-Id: Stephen Leake a �crit : >> If there is a tutorial somewhere using ASIS to generate co... source >> program text, I'd be interested to see it. > > 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. adasubst (available from Adalog's site) can also be seen as such a program, since it produces a modified version of its input source. -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr