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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,60e2922351e0e780 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-22 18:17:25 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!feed.cgocable.net!read1.cgocable.net.POSTED!53ab2750!not-for-mail From: Warren Gay User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Re-Marketing Ada (was "With and use") References: <3FB22125.1040807@noplace.com> <3FB3751D.5090809@noplace.com> <3FB8B9BC.5040505@noplace.com> <3FBA1118.4060105@noplace.com> <0fxub.48425$bQ3.12107@nwrdny03.gnilink.net> <3FBB6527.4040702@noplace.com> <3FBCBA38.8040000@noplace.com> <067vb.13803$iT4.1718658@news20.bellglobal.com> <3FBE0ABA.4090801@noplace.com> <3FBEE403.623B5387@nospam.cogeco.ca> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Sat, 22 Nov 2003 21:17:12 -0500 NNTP-Posting-Host: 24.150.168.167 X-Complaints-To: abuse@cogeco.ca X-Trace: read1.cgocable.net 1069554233 24.150.168.167 (Sat, 22 Nov 2003 21:23:53 EST) NNTP-Posting-Date: Sat, 22 Nov 2003 21:23:53 EST Organization: Cogeco Cable Xref: archiver1.google.com comp.lang.ada:2863 Date: 2003-11-22T21:17:12-05:00 List-Id: Chad R. Meiners wrote: > "Warren Gay" wrote in message > news:3FBEE403.623B5387@nospam.cogeco.ca... > >>OK, I think were on similar wavelengths here. So instead of using >>a hints file, specify what you hope to get out of the header file. >> >>Well, I suppose this works very well for the API functions, structures, >>types etc. One area where this falls down perhaps is for macro >>constants (imagine trying to specify all the error code constants >>from something like errno.h). But I suppose you could do the >>following: > > You might be able to solve the problem with a spec prep tool. The tools > searches through header files and tries to find names for the API (such as > macro names, typedef name, constant names) and generates a default > specification for it. This was originally discussed as the behavior for thinbind. However, I like the idea of configuring those aspects that you need to get out of the header file. Perhaps thinbind could just default to everything, and do its heroic best. I my mind, picking up the #define macros for folded constants etc. represents the easiest part of this assignment. The other aspects, such as function prototypes, structures and macro functions (like fputc()) are more difficult. > I would actually like to work on it because it sounds funs. Unfortunately, > I currently have very little time for creative efforts since my research and > thesis are occupying most of my creative time. I would be interested seeing > how I could help we could form a working group for the tool. > > -CRM Well, I would be willing to sign on a source forge project, in an advisory participant. I have too many other Ada projects to finish, to work on another on my own. If you want to lead it, I'll participate with comments and suggestions if you like. Perhaps you can garner some other more helpful partners too. -- Warren W. Gay VE3WWG http://home.cogeco.ca/~ve3wwg [Remove the nospam from the email address: blame the worms]