[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: macros vs. blocks



>>>>> "Anton" == Anton van Straaten <anton@appsolutions.com> writes:

Anton> The paper also gives the example of SSAX, a very powerful SAX parser
Anton> framework.  This uses a top-level macro, SSAX:make-parser, which builds a
Anton> parser based on user-provided callbacks.  This is described here:
Anton> http://okmij.org/ftp/Scheme/xml.html

While everything else you say is true, SSAX:make-parser is a poor
example for an intrinsic use of macros: it's a macro purely for
efficiency reasons (at least it was the last time I looked at it) and
has a trivial counterpart in procedural form.

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla