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-Thread: 103376,ccc3531aba8db12 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!proxad.net!freenix!talisker.lacave.net!lacave.net!feeder.xsnews.nl!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!pe1.news.blueyonder.co.uk!blueyonder!news-out.ntli.net!newsrout1-gui.ntli.net!ntli.net!newspeer1-win.ntli.net!newsfe4-win.ntli.net.POSTED!53ab2750!not-for-mail From: "Dr. Adrian Wrigley" Subject: Re: Dynamic Plug-in Loading with Ada User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Message-Id: Newsgroups: comp.lang.ada References: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Date: Tue, 28 Jun 2005 23:22:11 GMT NNTP-Posting-Host: 80.4.127.115 X-Complaints-To: http://www.ntlworld.com/netreport X-Trace: newsfe4-win.ntli.net 1120000931 80.4.127.115 (Wed, 29 Jun 2005 00:22:11 BST) NNTP-Posting-Date: Wed, 29 Jun 2005 00:22:11 BST Organization: ntl Cablemodem News Service Xref: g2news1.google.com comp.lang.ada:11712 Date: 2005-06-28T23:22:11+00:00 List-Id: On Tue, 28 Jun 2005 23:30:13 +0200, Preben Randhol wrote: > On Tue, Jun 28, 2005 at 08:43:20PM +0000, Dr. Adrian Wrigley wrote: >> >> I put together a little package last year to do "Live Coding" in >> Ada under GNAT/Linux. >> >> The package (LiveCoding) implemented procedures to run statements, to >> compile subprograms and to compile packages. The arguments would >> be strings and context clauses. I implemented context clauses as >> a separate data type which could be passed in to the code generator, >> >> The LiveCoding package wrote out new packages into files and called >> out to gnatgcc (or whatever) to compile the code fragments using dlopen >> and dlsym to access the new program symbols. > > Sounds interesting? Is this package by any chance available online? I had thought it might be useful to other people at some point. The functionality is very general, and can be a substitute for an embedded command interpreter. But it is little more than a heap of code I threw together as a proof of concept. I don't have the time to publish it right now. Maybe I could send you some code to look at (next week). -- Dr. Adrian Wrigley, Cambridge, UK.