On Tue, Aug 09, 2011 at 08:07:29AM +0200, Alexander Burger wrote:
> To my understanding, a "macro" is a piece of code which is processed (by
> a (pre)compiler or an equivalent software), resulting in a _new_ piece
> of code which is then used instead.
BTW, a good example for a "macro" in PicoLisp is the 'lazy' function
(de lazy Args
(def (car Args)
(list (cadr Args)
(cons 'cache (lit (cons))
(list 'pack (list 'char (list 'hash (caadr Args))) (caadr Args))
(cddr Args) ) ) ) )
from http://rosettacode.org/wiki/Formal_power_series
Cheers,
- Alex
--
UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe