> How hard would it be to add Ruby as an extension language
> like perl to irssi?

Probably not very, as the core irssi doesn't know anything about perl
either. Most problematic thing would be the signal handlers, as from C side
you only get 0-6 pointers which you'd need to convert to something that ruby
understands. I don't know anything about ruby really, but I'd guess there's
some kind of objects in it? Perl uses docs/signals.txt anyway to figure out
what parameters signals get.

> Is there any documentation how to do 
> this except the perl documentation and the source?

Not really. I could help some though :) Anyway, if you understand how
irssi's signaling works and can get that to work with ruby then it's pretty
much done, as you'd only need to add some wrappers to functions.


Reply via email to