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,5b031d156719dbc9 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!inka.de!rz.uni-karlsruhe.de!news.belwue.de!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Thu, 28 May 2009 13:31:12 +0200 From: Georg Bauhaus User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: 'Image for composite types References: <45845c4b-58f4-4848-8d5e-2ab58133c250@d38g2000prn.googlegroups.com> <4a1e5f19$0$32678$9b4e6d93@newsspool2.arcor-online.net> <45bdddd8-01bc-4273-a182-87b9664a812b@r34g2000vbi.googlegroups.com> In-Reply-To: <45bdddd8-01bc-4273-a182-87b9664a812b@r34g2000vbi.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <4a1e7601$0$30235$9b4e6d93@newsspool1.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 28 May 2009 13:31:13 CEST NNTP-Posting-Host: ee00753f.newsspool1.arcor-online.net X-Trace: DXC=0jOeEYVWF>Fk:C4l9A;OcOic==]BZ:afN4Fo<]lROoRA^YC2XCjHcbIK@IAnBOcfkH;9OJDO8_SKFNSZ1n^B98iJ5[gk^kW4:\O X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:6064 Date: 2009-05-28T13:31:13+02:00 List-Id: Martin schrieb: > On May 28, 10:53 am, Georg Bauhaus > wrote: > [snip] >> This assumes that a stupid implementation defined subprogram >> is enough for testing / debugging. > > I'm greedy...I want to override any stupid implementation defined > subprogram with my fancy one! (perhaps one for XML output, another for > csv, etc depending on the what I need the output for). Would filters or transformers be enough? If output of the compiler generated stream writer (perhaps respecting 'Output of components) is formatted preditably, the output can be input to a log inspection tool. The tool then produces the final output formatted as desired without an effect on the original program. (Maybe the transormation can be done running the circuits of Ada.Tags.Generic_Dispatching_Constructor. Resorting to a dummy tracing tag when there isn't a tag for the type to be output.)