Re: macro (Was: when to use (prog) or (run))

2011-08-11 Thread Alexander Burger
Hi Tomas, In PicoLisp, as you know, 'prog' is a function. I think we just use different terminology. Yes, that's the problem ;-) I prefer distinguishing different flavours of functions. For me, the traditional definition of function is a piece of code that works with already evaluated

Re: macro (Was: when to use (prog) or (run))

2011-08-09 Thread Alexander Burger
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