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.7 required=5.0 tests=BAYES_00,MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6c764748730dd2c1 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2000-12-12 08:00:16 PST Path: supernews.google.com!sn-xit-02!supernews.com!newsfeed.mesh.ad.jp!feed2.onemain.com!feed1.onemain.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp2.deja.com!nnrp1.deja.com!not-for-mail From: Ted Dennison Newsgroups: comp.lang.ada Subject: Re: gnathtml in Ada ? Date: Tue, 12 Dec 2000 15:46:48 GMT Organization: Deja.com - Before you buy. Message-ID: <915h95$hj6$1@nnrp1.deja.com> References: <3A351287.8628BCFA@dpqwd.zblf> <913mhp$4oh$1@nnrp1.deja.com> <3A35FEC3.7F525B27@zxblr2f.grbl> NNTP-Posting-Host: 204.48.27.130 X-Article-Creation-Date: Tue Dec 12 15:46:48 2000 GMT X-Http-User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; m18) Gecko/20001207 X-Http-Proxy: 1.0 x56.deja.com:80 (Squid/1.1.22) for client 204.48.27.130 X-MyDeja-Info: XMYDJUIDtedennison Xref: supernews.google.com comp.lang.ada:2995 Date: 2000-12-12T15:46:48+00:00 List-Id: In article <3A35FEC3.7F525B27@zxblr2f.grbl>, Gautier wrote: > Ted Dennison: > > > It looks like it traverses the user's program library and html-izes > > all withed units too. That may very well require OS support. > > For that I think the parameters given with "-o" options suffice: you > add the prefix for searching files. At least the present version in > Perl needs explicit paths. So (I think) you could do the library > traversing in 100%-portable Ada. Ahh. So the perl version didn't bother to solve this problem either? I guess I should have expected a hack from a perl program. :-) I suppose in a Gnat environment that would probably be acceptable, because the compiler is typically invoked with the explicit search path anyway. For other compilers that information is hidden from typical users. Knowing the directories a unit is in isn't very helpful anyway, as you still don't know what *file* it is in. It would be nice for users of Averstar-FE compilers if it would just read the unit.map file. Is the perl version smart enough to check the gnat.adc file for alternative unit name mappings? I suppose you might be able to make it somewhat compiler-portable by using ASIS. But since not everyone supports ASIS, that won't get you all the way there. However, I suppose support for ASIS will only become universal when there is a large suite of useful ASIS tools, so the best line may be to just go with ASIS and let users left out in the cold complain to their vendors. -- T.E.D. http://www.telepath.com/~dennison/Ted/TED.html Sent via Deja.com http://www.deja.com/ Before you buy.