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: 103376,79c108d8d805d021 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.megapath.net!news.megapath.net.POSTED!not-for-mail NNTP-Posting-Date: Sun, 04 Jun 2006 15:08:43 -0500 From: "Randy Brukardt" Newsgroups: comp.lang.ada References: <1149026932.554318.202570@i39g2000cwa.googlegroups.com> <5zmch4oseolx.1ghtww9ope9bt$.dlg@40tude.net> <1b6kk4c3suwjg.84fral2281gm$.dlg@40tude.net> Subject: Re: Ada and Internationalization Date: Sun, 4 Jun 2006 15:09:18 -0500 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 Message-ID: <0eSdnbBsKNRWoB7ZnZ2dnUVZ_sidnZ2d@megapath.net> NNTP-Posting-Host: 64.32.209.38 X-Trace: sv3-CBNpUSWePU/OviNWm+YS8/mxISsVZaoNfFlireFeg9ti2a41Jn6hPrlgXoW6gzHQqaHXobwy38Gj15K!p18FjE8rX28CY/7F+xQoLtIf9InhlRg12X5AhgbmBDsC6Z2ncUIIGfzAokFR7vI3SIw0uZfTFcLJ!L3kFRKcbuU0JXQ== X-Complaints-To: abuse@megapath.net X-DMCA-Complaints-To: abuse@megapath.net 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.32 Xref: g2news2.google.com comp.lang.ada:4678 Date: 2006-06-04T15:09:18-05:00 List-Id: "Stephen Leake" wrote in message news:ur725hx6s.fsf@acm.org... > "Randy Brukardt" writes: > > > "Dmitry A. Kazakov" 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. Yes, I'm waiting for Ada Europe to give the go-ahead to make the final version. Until then, it's kinda in limbo. I should really coordinate with you so you can start your work on this now (there shouldn't be many changes to the interface at this point). Ping me about this when I get back from the meetings (which are next week). Randy.