On Thu, 25 Sep 2003, Nigel Rantor wrote:

> Graham Barr wrote:
> > At one time I was going to re-write it as a source filter. Using 
> > anonymous subs has all sorts of unwanted side effects, one being memory 
> > leaks in earlier versions of perl.
> 
> Hmm...I have never looked into source filters before. How hard do you 
> reckon it would be then, eh?

Writing a source filter is like trying to modify the parse tree, but 
without a parse tree. I much prefer techniques that allow you to hook new 
nodetypes into the parse tree from the source language, and Perl pretty 
much has this anyway with exporting symbols into the callee namespace.

S.

-- 
Shevek                                    http://www.anarres.org/
I am the Borg.                         http://www.gothnicity.org/

Reply via email to