comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen_leake@acm.org>
Subject: Re: Ada and Internationalization
Date: Sun, 04 Jun 2006 09:23:07 -0400
Date: 2006-06-04T09:23:07-04:00	[thread overview]
Message-ID: <ur725hx6s.fsf@acm.org> (raw)
In-Reply-To: uKidnRDBAaL1eR3ZnZ2dnUVZ_tGdnZ2d@megapath.net

"Randy Brukardt" <randy@rrsoftware.com> writes:

> "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> wrote in message
> news:1b6kk4c3suwjg.84fral2281gm$.dlg@40tude.net...
> ...
>> In a recent project I had a similar problem. In place of localization
> there
>> were different rendering devices: Text, HTML, GTK etc. It ended up with a
>> primitive operation defined on objects, that had a class-wide argument
>> controlling the output parameters. Needless to say, that I am not
> satisfied
>> with this design.
>
> I had a similar problem with the formatting tool that produces the Ada
> Reference Manual and other good stuff. (In fact, it is essentially the same
> problem.) I ended up defining an "output object" abstract type, with
> instances of the type for text, HTML, and RTF. The needed operations for
> formatting and the like are defined for the abstract type. The formatting
> engine takes an output object and writes to it as needed.
>
> The design was fairly successful; Stephen Leake created a new type and
> object to support TextInfo output. 

That's "TexInfo" :)

> He was able to do that fairly successfully with the interface
> already provided.

Yes, it is a good design.

Can't wait to do it again for Ada 2005 (2006?). Any update on the
schedule for that? I gather we are waiting for the ISO process to
grind thru.

-- 
-- Stephe



  reply	other threads:[~2006-06-04 13:23 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-30 23:12 Ada and Internationalization Michael Rohan
2006-05-31  5:52 ` Ludovic Brenta
2006-05-31  7:44 ` Dmitry A. Kazakov
2006-05-31 14:53   ` James Dennett
2006-05-31 15:23     ` Dmitry A. Kazakov
2006-05-31 15:27       ` James Dennett
2006-06-01 11:00         ` Dmitry A. Kazakov
2006-06-03  1:23           ` Randy Brukardt
2006-06-04 13:23             ` Stephen Leake [this message]
2006-06-04 20:09               ` Randy Brukardt
2006-05-31 10:11 ` Georg Bauhaus
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox