comp.lang.ada
 help / color / mirror / Atom feed
From: Ray Blaak <rAYblaaK@STRIPCAPStelus.net>
Subject: Re: Wide Character Problem in Ada.Numerics
Date: Fri, 27 Apr 2007 16:43:21 GMT
Date: 2007-04-27T16:43:21+00:00	[thread overview]
Message-ID: <uwszx93ce.fsf@STRIPCAPStelus.net> (raw)
In-Reply-To: 1177688477.802262.165950@t39g2000prd.googlegroups.com

Adam Beneschan <adam@irvine.com> writes:
> Even so, I believe that I'd want to compile a specification that I
> wrote before trying to WITH it, just to make sure there are no errors.

If I recall correctly, GNAT uses a source based model for its package library,
in that the "library interface" files for package specs are simply the sources
themselves.

This means that package specs are always loaded/compiled on the fly whenever
they are WITH'd.

This turns out to have all sorts of advantages and simplifications. I don't
know if GNAT is still doing this.

There should still be a smarter way to handle source encodings however. XML
files have a starting <?xml that can be analyzed to determine the
encoding. Perhaps GNAT could do something similar based on the first possible
tokens of a spec (e.g. --, package, with, etc.)

-- 
Cheers,                                        The Rhythm is around me,
                                               The Rhythm has control.
Ray Blaak                                      The Rhythm is inside me,
rAYblaaK@STRIPCAPStelus.net                    The Rhythm has my soul.



  reply	other threads:[~2007-04-27 16:43 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-23 21:29 Wide Character Problem in Ada.Numerics david.smith
     [not found] ` <462daae8$1@news.post.ch>
2007-04-24  8:03   ` Jean-Pierre Rosen
2007-04-24 16:35     ` Adam Beneschan
2007-04-25  8:28       ` Maciej Sobczak
2007-04-25  9:02       ` Jean-Pierre Rosen
2007-04-26  0:27         ` Brian May
2007-04-26 17:43           ` Adam Beneschan
2007-04-27  0:35             ` Brian May
2007-04-27 12:08             ` Jean-Pierre Rosen
2007-04-27 15:41               ` Adam Beneschan
2007-04-27 16:43                 ` Ray Blaak [this message]
2007-04-27 19:04                   ` Randy Brukardt
2007-04-25 10:01       ` Markus E Leypold
2007-04-24  9:16   ` Georg Bauhaus
2007-04-24 17:54 ` Pascal Obry
2007-04-26  2:31   ` David Smith
2007-04-26 19:03     ` Pascal Obry
2007-04-26 19:41       ` Georg Bauhaus
2007-04-26 20:30         ` Pascal Obry
2007-04-27  1:47       ` Adam Beneschan
2007-04-27  2:51         ` David Smith
replies disabled

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