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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a5f77772dc1375a3 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-23 02:04:27 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: 18k11tm001@sneakemail.com (Russ) Newsgroups: comp.lang.ada Subject: Re: Safe Units Handling in Ada Date: 23 May 2002 02:04:26 -0700 Organization: http://groups.google.com/ Message-ID: References: NNTP-Posting-Host: 63.194.87.148 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1022144667 24677 127.0.0.1 (23 May 2002 09:04:27 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 23 May 2002 09:04:27 GMT Xref: archiver1.google.com comp.lang.ada:24566 Date: 2002-05-23T09:04:27+00:00 List-Id: Fraser Wilson wrote in message news:... > After a recent discussion, I put together Macks, a small program that > generates Ada packages for dealing with physical units in a type safe > way. > > You can now download Version 0.0.1 (that's confidence) from > > http://blancolioni.org/ada/macks/macks-0.0.1-src.tar.gz > http://blancolioni.org/ada/macks/macks-0.0.1-src.zip > > Instructions are in the README, but if you have GNAT, then all you have > to do is this: > > gnatmake -o macks macks-driver > > The tar.gz version is just the zipped version run through dos2unix. I > don't currently have a Unix box with an Ada compiler installed (it's a > depressing story), so technically that version hasn't been tested > properly (except by (a) checking for the absence of ^M on the Unix box > I do have, and (b) downloading to the Windows machine and compiling it). > > cheers, > Fraser. I downloaded this, and it contains a large number of files. Perhaps you could explain how it works and give a simple example.