Aye up,
I like the idea of signals. The chaining code can be automatically
generated by FFI - the code to do it is pretty trivial.
Also, if instead of having a single struct with all the signals in,
you could have a hashtable of signals referenced by a string id, then
plugins could defi
Aye up all,
I think the env var solution is easier for people to use and
immediately understand. There would be nothing to stop those people who
don't like env vars from using the shell wrapper approach. Why not
allow both?
Are you sure about this style of event/callback mechanism?
x27;t really know much about it.
I've only been developing on Linux. I don't know how much work it would
be to port to other machines.
Oh, I also use libffi for events and join-points. The system would
certainly work without events and join-points, it just wouldn't be as
fun.
nd replace how passes are done completely if you want.
*Licensing*
I don't know anything about licensing, but we could do something
similar to the approach that Joern suggested. We could only load
plugins that included the GPL or other approved OSS lisence at the
top of the file.
to access these arguments.
The variables also have an escaping syntax so that characters like '='
and ';' can be represented.
Cheers,
Hugh.
Hugh Leather wrote:
Sorry, I think this bounced twice.
Hugh Leather wrote:
Hi All,
Thanks, Grigori, for menti
Sorry, I think this bounced twice.
Hugh Leather wrote:
Hi All,
Thanks, Grigori, for mentioning my plugin system, libplugin, which
can be found at http://libplugin.sourceforge.net/.
I have been meaning to release it but finding the time to finish
off the documentation and upload all
after leaving my code.
Can you think of anything that might do that? I figured I must be
doing something pretty wrong and that there must be tons of examples
for this kind of thing but I haven't been able to find one.
Cheers for the help,
Hugh.
Andrew Haley wrote:
Hugh
Hi,
I am trying to add a new destructor function to object files I
compile. I'm doing this to instrument programs and then, once the
program has finished I want to print out the statistics I've gathered.
So, just before pass 'remove_useless_stmts' is called on each
function I try to creat