comp.lang.ada
 help / color / mirror / Atom feed
From: "Dr. Adrian Wrigley" <amtw@linuxchip.demon.co.uk.uk.uk>
Subject: Re: Dynamic Plug-in Loading with Ada
Date: Tue, 28 Jun 2005 23:22:11 GMT
Date: 2005-06-28T23:22:11+00:00	[thread overview]
Message-ID: <pan.2005.06.28.23.22.20.432869@linuxchip.demon.co.uk.uk.uk> (raw)
In-Reply-To: mailman.106.1119994234.17633.comp.lang.ada@ada-france.org

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.




  reply	other threads:[~2005-06-28 23:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-25  7:35 Dynamic Plug-in Loading with Ada Preben Randhol
2005-06-28 18:30 ` Mark Lorenzen
2005-06-28 20:43 ` Dr. Adrian Wrigley
2005-06-28 20:53   ` Alex R. Mosteo
2005-06-28 21:30   ` Preben Randhol
2005-06-28 23:22     ` Dr. Adrian Wrigley [this message]
2005-07-01  6:09 ` Michael Erdmann
replies disabled

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