comp.lang.ada
 help / color / mirror / Atom feed
From: Shark8 <onewingedshark@gmail.com>
Subject: Re: Problem with limited with
Date: Fri, 26 Jul 2013 19:32:59 -0700 (PDT)
Date: 2013-07-26T19:32:59-07:00	[thread overview]
Message-ID: <42dc042d-e458-42a4-abb7-23907982b88f@googlegroups.com> (raw)
In-Reply-To: <ksv36l$tnc$1@dont-email.me>

On Friday, July 26, 2013 6:17:21 PM UTC-6, Jeffrey Carter wrote:
> 
> But even in that case, I'd still say the best solution is to avoid limited with.
> Recursive types belong in the same pkg together. Limited with is a kludge to let 
> people write JavAda and should never have been added in the 1st place.

Hm, interesting assertion. The place I mentioned before is a little FORTH interpreter I was working on ( https://github.com/OneWingedShark/Forth ) so that Forth.VM (the package containing the VM/interpreter) and Forth.Types (the package containing the data-types [for cells] and cell-operations) could be mutually dependent:
    -- Routine is an access to a procedure; this cannot be put into a
    -- subpool, sadly, and is intended only for definition of words;
    -- typically, the routines pointed to should have full view of the
    -- VM (that is the stacks) in order to manipulate them.
    Type Routine is Access Procedure( State : not null access Forth.VM.Interpreter );


Is that a bad design-choice? If so, why?

  parent reply	other threads:[~2013-07-27  2:32 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-26 19:14 Problem with limited with Simon Wright
2013-07-26 20:49 ` Jeffrey Carter
2013-07-26 22:17   ` Adam Beneschan
2013-07-26 22:25     ` Shark8
2013-07-26 22:35     ` Simon Wright
2013-07-27  0:17     ` Jeffrey Carter
2013-07-27  1:08       ` Adam Beneschan
2013-07-27  8:05         ` Simon Wright
2013-07-27  2:32       ` Shark8 [this message]
2013-07-27  5:42         ` Jeffrey Carter
2013-07-27 16:00           ` Shark8
2013-07-27 17:13             ` Jeffrey Carter
2013-07-27 19:21               ` Simon Wright
2013-07-28  2:51               ` Randy Brukardt
2013-07-27  3:55       ` Randy Brukardt
replies disabled

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