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,a5f77772dc1375a3,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-21 03:00:28 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!iad-peer.news.verio.net!news.verio.net!skynet.be!skynet.be!transit.news.xs4all.nl!not-for-mail From: Fraser Wilson Newsgroups: comp.lang.ada Subject: Safe Units Handling in Ada Date: 21 May 2002 12:01:49 +0200 Organization: XS4ALL Internet BV Sender: fwilson@FWILSON Message-ID: NNTP-Posting-Host: a80-126-24-12.adsl.xs4all.nl X-Trace: news1.xs4all.nl 1021975226 28742 80.126.24.12 (21 May 2002 10:00:26 GMT) X-Complaints-To: abuse@xs4all.nl NNTP-Posting-Date: 21 May 2002 10:00:26 GMT X-Newsreader: Gnus v5.7/Emacs 20.7 Xref: archiver1.google.com comp.lang.ada:24454 Date: 2002-05-21T10:00:26+00:00 List-Id: 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.