comp.lang.ada
 help / color / mirror / Atom feed
From: "David Thompson" <david.thompson1@worldnet.att.net>
Subject: Re: Would an *AdaScript* language be a good / bad idea?
Date: Tue, 28 May 2002 00:31:17 GMT
Date: 2002-05-28T00:31:17+00:00	[thread overview]
Message-ID: <pdAI8.8676$UT.586310@bgtnsc05-news.ops.worldnet.att.net> (raw)
In-Reply-To: 5ee5b646.0205171859.14abf161@posting.google.com

Robert Dewar <dewar@gnat.com> wrote :
> Darren New <dnew@san.rr.com> wrote in message
news:<3CE3D8B4.C272C737@san.rr.com>...
>
> > Another feature of scripting languages is the almost casual use of
> > dynamically loaded code. It's not uncommon at all to calculate at run
> > time what executable code will be loaded, for example. ...

> Again, this is just a particular feature of languages, that some languages
> have and others don't. COBOL for example has dynamic binding of all procedure
> calls, and dynamic loading of code, and always has, and it is routine in the
> COBOL world to add new modules dynamically to a running program without
> stopping it. But most people would hardly consider COBOL to be a scripting
> language.
>
COBOL-the-language has provision for overlay linking/loading
(segments), and call to name-chosen-at-runtime program-unit
(= procedure, COBOL doesn't have user-written value-returning
functions, at least not yet), although I don't recall (and no longer
have the books available to check) if these are in the base
conformance level or optional.

But to my knowledge only CICS, and Tandem's roughly similar
but much less known PATHWAY, support(ed) adding new modules
transparently to a running program in the fashion of Java or
AIUI Erlang or explicit DLL/so's, much less direct source execution
like shells and awk/perl/etc.  (Admittedly CICS may be or have been
the environment for more COBOL code than any single alternative.)

Some OSes (also) support extralingual dynamic loading and/or calling,
which can apply to any supported language, at least any compiled
in the normal way, but perhaps somewhat more easily to COBOL
because it has just about the simplest possible calling convention.

--
- David.Thompson 1 now at worldnet.att.net








  reply	other threads:[~2002-05-28  0:31 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-14  4:51 Would an *AdaScript* language be a good / bad idea? James Ross
2002-05-14  5:15 ` James Ross
2002-05-14  8:47 ` Ingo Marks
2002-05-14 14:21   ` Robert Dewar
2002-05-14 19:24     ` Ingo Marks
2002-05-15  5:32       ` Robert Dewar
2002-05-14  9:03 ` Preben Randhol
2002-05-14 14:18 ` Robert Dewar
2002-05-14 15:25   ` Larry Kilgallen
2002-05-14 16:45   ` Preben Randhol
2002-05-15  6:33     ` Per Sandbergs
2002-05-15  8:52       ` Preben Randhol
2002-05-15 11:35       ` Marc A. Criley
2002-05-15 12:56   ` Steve Doiel
2002-05-15 14:28     ` Preben Randhol
2002-05-16  2:46     ` Robert Dewar
2002-05-16 16:04       ` Darren New
2002-05-16 17:18         ` Wes Groleau
2002-05-16 18:52           ` Darren New
2002-05-17 14:33             ` Wes Groleau
2002-05-17 16:22               ` Darren New
2002-05-17 16:56                 ` Darren New
2002-05-17 23:13                   ` Wes Groleau
2002-05-17 23:20                     ` Darren New
2002-05-17 16:58                 ` Stephen Leake
2002-05-17 17:23                   ` Darren New
2002-05-17 17:35                   ` Pascal Obry
2002-05-17 17:44                     ` Darren New
2002-05-17 18:02                       ` Pascal Obry
2002-05-17 23:12                 ` Wes Groleau
2002-05-17 23:27                   ` Darren New
2002-05-18  2:54         ` Robert Dewar
2002-05-18  2:59         ` Robert Dewar
2002-05-28  0:31           ` David Thompson [this message]
2002-05-29  1:11             ` Robert Dewar
2002-05-21 20:48       ` Florian Weimer
2002-05-21 21:05         ` Preben Randhol
2002-05-22  7:17           ` Pascal Obry
2002-05-22 11:29             ` Preben Randhol
2002-05-21 20:35   ` Florian Weimer
2002-05-15 11:39 ` Bill Tate
2002-05-17 19:24   ` Gerhard Häring
replies disabled

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