comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Elaboration worries
Date: Thu, 22 Jun 2006 18:09:50 -0500
Date: 2006-06-22T18:09:50-05:00	[thread overview]
Message-ID: <I4-dnRjw_9SOvgbZnZ2dnUVZ_qCdnZ2d@megapath.net> (raw)
In-Reply-To: wcck67aumqe.fsf@shell01.TheWorld.com

"Robert A Duff" <bobduff@shell01.TheWorld.com> wrote in message
news:wcck67aumqe.fsf@shell01.TheWorld.com...
> "Randy Brukardt" <randy@rrsoftware.com> writes:
...
> >    (a) make your package Preelaborate if possible (Pure is so limited
that
> > no real packages ever qualify) -- but this is usually impossible because
I/O
> > and Calendar aren't Preelaborate. Which means that you can't trace or
log a
> > Preelaborate package (well, there *is* one way to do it, but it adds
runtime
> > overhead);
>
> I have put debug output code in Pure and Preelab packages by "cheating".

True, you can leave the language if you like, or lie to the compiler (I
guess you'd say what you are doing is the latter; I would call it the
former), but I was thinking of ways that don't require such underhandedness
and can be used in production code.

                           Randy.





  reply	other threads:[~2006-06-22 23:09 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-21 12:33 Elaboration worries Alex R. Mosteo
2006-06-21 18:01 ` Samuel Tardieu
2006-06-21 20:34 ` Randy Brukardt
2006-06-21 23:07   ` Samuel Tardieu
2006-06-22 23:06     ` Randy Brukardt
2006-06-23 18:42       ` Samuel Tardieu
2006-06-23 19:54         ` Randy Brukardt
2006-06-21 23:12   ` Robert A Duff
2006-06-22 23:09     ` Randy Brukardt [this message]
2006-06-21 23:07 ` Robert A Duff
2006-06-22  2:24   ` Matthew Heaney
2006-06-22 10:36 ` Alex R. Mosteo
2006-06-22 16:25   ` Alex R. Mosteo
2006-06-22 23:31   ` 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