comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Low_Level_IO, what is it?
Date: Wed, 6 Jun 2012 18:20:29 -0500
Date: 2012-06-06T18:20:29-05:00	[thread overview]
Message-ID: <jqook0$7ik$1@munin.nbi.dk> (raw)
In-Reply-To: op.wfc5jfaaule2fv@douda-yannick

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1884 bytes --]

"Yannick Duch�ne (Hibou57)" <yannick_duchene@yahoo.fr> wrote in message 
news:op.wfc5jfaaule2fv@douda-yannick...
>Le Sun, 03 Jun 2012 17:59:59 +0200, Dennis Lee Bieber 
><wlfraed@ix.netcom.com> a �crit:
>
>> On Sun, 3 Jun 2012 08:04:05 -0700 (PDT), heresy-me@hotmail.com declaimed
>> the following in comp.lang.ada:
>>
>>> Low_Level_IO, a Ada package name that I saw in some older Ada book.But
>>> I cannot found it in Ada12 Reference.
>>> What is Low_Level_IO?
>>
>> Most likely a description of an "idealized" interface to machine
>> specific I/O operations, intended for use in an pure Ada run-time --
>> instead of the more common POSIX/C run-time bindings (as used by GNAT)
>> on top of a full OS.
>>
>> Ah, yes... Ada 83
>> http://archive.adaic.com/docs/style-guide/83style/html/sty-07-07.html#7.7.4
>
>
>A further link gives its incomplete definition:
>
>    package LOW_LEVEL_IO is
>       --  declarations of the possible types for DEVICE and DATA;
>       --  declarations of overloaded procedures for these types:
>       procedure SEND_CONTROL    (DEVICE : device_type; DATA : in out 
> data_type);
>       procedure RECEIVE_CONTROL (DEVICE : device_type; DATA : in out 
> data_type);
>    end;
>
>Also, the casing is funny.

Haw, nothing funny about this; that's the "standard" way of writing Ada 83 
code. Large amounts of original Ada 83 code was written in this style. It 
was so ugly that the "standard" casing was changed in Ada 95. (Before that, 
most of us invented our own styles, so it was a real mess to integrate 
someone else's code.)

As far a Low_Level_IO itself, the package was always optional in Ada 83, and 
there was hardly anyone who ever implemented it (we had packages of our own 
design for this purpose, they were much closer to the Intel instruction 
set). So it was removed from Ada 95.

                                      Randy.









  reply	other threads:[~2012-06-06 23:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-03 15:04 Low_Level_IO, what is it? heresy-me
     [not found] ` <c42ns75dn57ma9o2mr4mfealkn93d656g0@invalid.netcom.com>
2012-06-04  5:29   ` Yannick Duchêne (Hibou57)
2012-06-06 23:20     ` Randy Brukardt [this message]
2012-06-07  0:08     ` Adam Beneschan
2012-06-04 11:55 ` anon
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox