Re: Bug#465086: RFS: talkfilters
On Sun, Feb 10, 2008 at 06:17:55PM -0500, Joey Hess wrote:
> David Paleino wrote:
> > Is there any chance for filter to provide a "libfilters" library to interface
> > with? I've packaged talkfilters because it was a possible use of libtranslate
> >  , but that's not really necessary. I could try to patch it so that it
> > uses your "filters" package, but that would need a library to use.
There's always pipe() and exec()...
> filters has programs written some in perl and some in lex, so that's not
> really possible to do a shared library.
... and yacc, and pure C. Yet, all are either in a form of C (9) or Perl
(15), so in theory one could link a Perl interpreter to it. Yet, IMHO the
complexity isn't worth it. Creating a process costs less than loading the
translation data for a real language anyway, and keeps it possible to write
filters in Python (bleh) or Ada...
1KB // Microsoft corollary to Hanlon's razor:
// Never attribute to stupidity what can be
// adequately explained by malice.