Template-based Preprocessing

Garett Bass garettbass at studiotekne.com
Sun Sep 3 16:24:45 PDT 2006


Walter Bright wrote:
> defmac is often trotted out as a big productivity gainer in Lisp,
> because with it one can define one's own syntax. D's lazy evaluation
> does the equivalent. 

Can someone explain to me how lazy is equivalent to defmac?  After reading Paul Graham's "Hackers & Painters", I thought defmac was more like #define macros.



More information about the Digitalmars-d mailing list