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 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-22 03:19:58 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!newsgate.cistron.nl!transit.news.xs4all.nl!not-for-mail From: Fraser Newsgroups: comp.lang.ada Subject: Re: Safe Units Handling in Ada Date: Wed, 22 May 2002 12:21:24 +0200 Organization: XS4ALL Internet BV Message-ID: <3CEB7124.4050604@blancolioni.org> References: NNTP-Posting-Host: a80-126-24-12.adsl.xs4all.nl Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news1.xs4all.nl 1022063163 19181 80.126.24.12 (22 May 2002 10:26:03 GMT) X-Complaints-To: abuse@xs4all.nl NNTP-Posting-Date: 22 May 2002 10:26:03 GMT User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0rc2) Gecko/20020510 X-Accept-Language: en-us, en Xref: archiver1.google.com comp.lang.ada:24512 Date: 2002-05-22T10:26:03+00:00 List-Id: Fraser Wilson wrote: > 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. Ah, the best-laid plans. The 'or' feature doesn't work, and the logic was sloppy. So here's a new version which fixes that. http://blancolioni.org/ada/macks/macks-0.0.2-src.tar.gz http://blancolioni.org/ada/macks/macks-0.0.2-src.zip Or you can download the changes only: http://blancolioni.org/ada/macks/macks-0.0.2-patch.tar.gz http://blancolioni.org/ada/macks/macks-0.0.2-patch.zip The patches (they're not really patches in the 'diff -c' style; sorry about that) uncompress into a directory called macks-0.0.2-patch; you should copy the contents into your macks source directory and recompile. I've also added a file called macks.grammar, which specifies the grammar of the .macks file. For some reason I can't open the .tar.gz files with WinZip. They should work with Unix tar/gzip. cheers, Fraser.