comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <jrcarter@acm.org>
Subject: Re: ASCL a doomed idea?
Date: Sun, 09 Dec 2001 21:37:26 GMT
Date: 2001-12-09T21:37:26+00:00	[thread overview]
Message-ID: <3C13D980.748CCCDA@acm.org> (raw)
In-Reply-To: 9v0crv$bo2bi$2@ID-25716.news.dfncis.de

Nick Roberts wrote:
> 
> I've been looking carefully at my proposal (NJR 5), Jeffrey Carter's (JC01)
> and TED's (1.3), and -- to put it totally bluntly -- I still think mine is
> the best so far (I just can't help being perfect ;-) for some fairly
> specific reasons:
> 
> (1) all my nomenclature is derived directly from Ada.Strings.* wherever
> possible, the exceptions being 'cursor', 'cursorage', 'facing', 'prepend',
> 'split', 'move_cursor', and 'restart' (about which nobody seems to have
> argued anyway), and the generic parameter Element_Type, and the function
> End_of_*, both of which I have derived from Ada.*_IO;

This is a significant problem with NJR5. Lists are not strings and use
different nomenclature.

> (3) the closed (passive?) iterator included in both JC01 and TED 1.3 is
> inferior to the open, container-wide iterator (I have already outlined,
> haven't I?) to be added to my proposal, in that it does not permit
> restarting within the client procedure, and it does not permit writing at
> all.

An iterator procedure is the only thing that is an iterator; anything
else called an iterator is misnamed. I don't know what you mean by
"writing" in this context. The iterator in JC01 allows updating the
value stored at the current position being acted upon. Insertion and
deletion should take place outside an iterator.

-- 
Jeff Carter
"Hello! Smelly English K...niggets."
Monty Python & the Holy Grail



  reply	other threads:[~2001-12-09 21:37 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-06 20:26 ASCL a doomed idea? Michael Erdmann
2001-12-06 20:49 ` Mark Lundquist
2001-12-09 19:07   ` Nick Roberts
2001-12-09 21:37     ` Jeffrey Carter [this message]
2001-12-10 19:36       ` Nick Roberts
2001-12-10 22:37         ` Jeffrey Carter
2001-12-10 23:30           ` Chad R. Meiners
2001-12-11  1:42             ` Jeffrey Carter
2001-12-11  3:40               ` Chad R. Meiners
2001-12-11 14:45           ` Mark Lundquist
2001-12-11 15:06             ` Ted Dennison
2001-12-11 15:09               ` Jean-Marc Bourguet
2001-12-11 17:18               ` Stephen Leake
2001-12-12  4:29               ` Jeffrey Carter
2001-12-12 14:40                 ` Ted Dennison
2001-12-11 15:25             ` Larry Hazel
2001-12-12  4:21             ` Jeffrey Carter
2001-12-12 14:32               ` Stephen Leake
2001-12-12 19:40               ` Mark Lundquist
2001-12-16 13:23               ` Georg Bauhaus
2001-12-11 14:45         ` Mark Lundquist
2001-12-11 15:11           ` Ted Dennison
2001-12-11 17:43             ` Nick Roberts
2001-12-12  0:37               ` Mark Lundquist
2001-12-12  4:31           ` Jeffrey Carter
2001-12-11 22:45         ` Mark Lundquist
2001-12-12  1:39           ` Nick Roberts
2001-12-12 10:08             ` Ian Wild
2001-12-12 17:03               ` Nick Roberts
2001-12-12 22:09                 ` Brian Rogoff
2001-12-12 14:34             ` Marin David Condic
2001-12-11 14:45       ` Mark Lundquist
2001-12-12  4:32         ` Jeffrey Carter
2001-12-12 14:48           ` Ted Dennison
2001-12-12 17:02           ` Nick Roberts
replies disabled

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