From mboxrd@z Thu Jan 1 00:00:00 1970
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me
X-Spam-Level:
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham
autolearn_force=no version=3.4.4
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103376,84bf0ec36cf20893
X-Google-Attributes: gid103376,public
X-Google-ArrivalTime: 2002-05-17 11:02:27 PST
Path:
archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!oleane.net!oleane!wanadoo.fr!not-for-mail
From: Pascal Obry
Newsgroups: comp.lang.ada
Subject: Re: Would an *AdaScript* language be a good / bad idea?
Date: 17 May 2002 20:02:23 +0200
Organization: Home - http://perso.wanadoo.fr/pascal.obry
Message-ID:
References:
<5ee5b646.0205140618.2d789fc9@posting.google.com>
<5ee5b646.0205151846.4b14a73f@posting.google.com>
<3CE3D8B4.C272C737@san.rr.com> <3CE3EA03.394B3EA@despammed.com>
<3CE3FFE7.775E5103@san.rr.com> <3CE514CD.DC9C679@despammed.com>
<3CE52E77.FC3FC588@san.rr.com>
<3CE5417F.F1524695@san.rr.com>
NNTP-Posting-Host: avelizy-103-1-3-10.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: wanadoo.fr 1021658546 9099 217.128.47.10 (17 May 2002 18:02:26 GMT)
X-Complaints-To: abuse@wanadoo.fr
NNTP-Posting-Date: 17 May 2002 18:02:26 GMT
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
Xref: archiver1.google.com comp.lang.ada:24301
Date: 2002-05-17T18:02:26+00:00
List-Id:
Darren New writes:
> Pascal Obry wrote:
> > I'm not sure this is true. To use this object the type must be known at
> > _compile_ time. Darren said "a new type at run-time", and to this question
> > I would answer no. The distributed annexe does not help here.
>
> Well, think of how Java does it. Your partition could define a tagged type
> called Transaction, and you could load up different partitions with derived
> types called AddTransaction, RemoveTransaction, etc as you develop them.
In Java of course, since precisely, it is possible to load dynamically new
classes.
> I don't have to change anything to add a transaction. Just put the file in
> the code directory. :-) *That* is the sort of thing people do with scripting
> languages.
I have no problem with scripting languages, this was not my point :)
> But you could do a similar thing with the distributed annex. Recompile the
^^^^^^^^
Ok "recompile", but this is not at runtime :) So I think we are on the same
wavelength.
Pascal.
--
--|------------------------------------------------------
--| Pascal Obry Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--| http://perso.wanadoo.fr/pascal.obry
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595