Re: Dynamic Plug-in Loading with Ada



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.

.



Relevant Pages

  • Re: Dynamic Plug-in Loading with Ada
    ... Ada under GNAT/Linux. ... The package implemented procedures to run statements, ... compile subprograms and to compile packages. ... unsuited to Live Coding, but it *can* be made to work. ...
    (comp.lang.ada)
  • Re: Modelsim : Problem with generics
    ... definition in that package. ... Entities in a file with there architecture, testbench in an other with ... tried a lot of things and the "compile all" was part of it. ... But what I saw is it seems that the testbench does not recompile ...
    (comp.lang.vhdl)
  • Re: Use of libraries
    ... the entity will also contain the package that defines its interface ... 'Compile out of date' from the GUI and go right on back to simulating. ... vcom -just p *.vhd ...
    (comp.lang.vhdl)
  • Re: DebToo: Debian, Gentoo-style
    ... I just have one question for all you folks who like to compile every ... review had Debian on top, Debian was only compiled with I386. ... Also Isn't Gentoo starting to introduce binaries of packages to ease ... I wonder how the package manager keeps up with the ...
    (Debian-User)
  • Re: How do I install this missing library?
    ... How does that answer the question "What are you trying to compile? ... >> I even TOLD you what to google for! ... You don't care WHAT the ... Your package manager will tell you all you need to know. ...
    (comp.os.linux.misc)