comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.jrcarter.not@acm.nospam.org>
Subject: Re: Automated conversion to C++?
Date: Mon, 18 Feb 2008 20:01:05 GMT
Date: 2008-02-18T20:01:05+00:00	[thread overview]
Message-ID: <5uluj.39553$yE1.25779@attbi_s21> (raw)
In-Reply-To: <gAi3fvx3BIHT@eisner.encompasserve.org>

Larry Kilgallen wrote:
> 
> How would those not be "inline reserved characters" ?
> 
> How would you write a line that had an ASCII 10 in the middle
> and get back that line that had an ASCII 10 in the middle, as
> you can with the Ada compiler I currently use ?
> 
> I have no doubt that with Posix one could write a subset of Ada,
> but that was not the question posed.

I'm sorry, but full Ada does not specify how line termination is implemented, 
nor guarantee that all values of Character may appear in a line that will be 
read back as written. ARM A.10 says they depend on the implementation, and may 
be actual characters, or "inline reserved characters", as you call them. "The 
effect of input (Get) or output (Put) of control characters (other than 
horizontal tabulation) is not specified by the language."

That you have an implementation in which all values of Characters may appear in 
a line does not mean that the standard requires it.

-- 
Jeff Carter
"We'll make Rock Ridge think it's a chicken
that got caught in a tractor's nuts!"
Blazing Saddles
87



  parent reply	other threads:[~2008-02-18 20:01 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-15 13:33 Automated conversion to C++? Jacob Sparre Andersen
2008-02-15 14:11 ` Robert A Duff
2008-02-15 19:12   ` Jacob Sparre Andersen
2008-02-16  0:44     ` Robert A Duff
2008-02-17 22:31       ` Phaedrus
2008-02-18  0:59         ` Larry Kilgallen
2008-02-18  7:14         ` Martin Krischik
2008-02-19  1:04           ` Phaedrus
2008-02-19 17:01             ` Martin Krischik
2008-02-18  7:10       ` Martin Krischik
2008-02-18  7:08   ` Martin Krischik
2008-04-03  9:48   ` vindhya
2008-04-03 13:27     ` Robert A Duff
2008-02-15 18:24 ` Jeffrey R. Carter
2008-02-15 20:35   ` Maciej Sobczak
2008-02-16  4:52     ` Jeffrey R. Carter
2008-02-16  7:40       ` Pascal Obry
2008-02-16 12:12       ` Peter C. Chapin
2008-02-16 13:41         ` Larry Kilgallen
2008-02-16 16:35           ` Maciej Sobczak
2008-02-16 17:12             ` Jeffrey R. Carter
2008-02-16 21:23               ` Maciej Sobczak
2008-02-16 22:11                 ` Jeffrey R. Carter
2008-02-19 16:46                   ` Jacob Sparre Andersen
2008-02-17 12:41             ` Larry Kilgallen
2008-02-17 18:57               ` Peter C. Chapin
2008-02-17 19:50                 ` Larry Kilgallen
2008-02-18 14:43                   ` Maciej Sobczak
2008-02-18 19:17                     ` Larry Kilgallen
2008-02-18 19:44                       ` Peter C. Chapin
2008-02-19  0:05                         ` John W. Kennedy
2008-02-19  7:29                         ` Jean-Pierre Rosen
2008-02-18 20:01                       ` Jeffrey R. Carter [this message]
2008-02-18 23:33                       ` Randy Brukardt
2008-02-20  1:53                     ` Subject: POSIX , Ada, Line Feeds, etc (was Automated conversion to C++) KarlNyberg
2008-02-21  7:34                       ` Subject: POSIX , Ada, Line Feeds, etc Jacob Sparre Andersen
2008-02-16 17:09         ` Automated conversion to C++? Jeffrey R. Carter
2008-02-16 16:31       ` Maciej Sobczak
2008-02-16 17:20         ` Jeffrey R. Carter
2008-02-16 13:21   ` Jacob Sparre Andersen
2008-02-16 17:15     ` Jeffrey R. Carter
2008-02-16 13:43 ` Dr. Adrian Wrigley
2008-02-16 16:42   ` Jacob Sparre Andersen
2008-02-16 16:58     ` Martin
2008-02-21  7:14       ` Jacob Sparre Andersen
2008-02-16 21:43     ` Maciej Sobczak
2008-02-16 22:04       ` Jeffrey R. Carter
2008-02-16 18:27   ` tmoran
replies disabled

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