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-27 17:31:18 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.cis.ohio-state.edu!news.maxwell.syr.edu!wn1feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!not-for-mail From: "David Thompson" Newsgroups: comp.lang.ada References: <5ee5b646.0205140618.2d789fc9@posting.google.com> <5ee5b646.0205151846.4b14a73f@posting.google.com> <3CE3D8B4.C272C737@san.rr.com> <5ee5b646.0205171859.14abf161@posting.google.com> Subject: Re: Would an *AdaScript* language be a good / bad idea? X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Message-ID: Date: Tue, 28 May 2002 00:31:17 GMT NNTP-Posting-Host: 12.89.144.118 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1022545877 12.89.144.118 (Tue, 28 May 2002 00:31:17 GMT) NNTP-Posting-Date: Tue, 28 May 2002 00:31:17 GMT Organization: AT&T Worldnet Xref: archiver1.google.com comp.lang.ada:24857 Date: 2002-05-28T00:31:17+00:00 List-Id: Robert Dewar wrote : > Darren New 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