[self-interest] macro systems

James McCartney asynth at io.com
Thu Aug 22 16:25:53 UTC 2002


The best reference would probably be the book _On_Lisp_.
(Which I just discovered you can download for free from 
http://www.paulgraham.com/onlisp.html  )
A macro is basically a way to run language code at compile time to 
generate language code.
With this you can do any kind of stitching together of concerns that 
you would want.
If you wrote a set of macros to create your classes you could have them 
generate code for your methods,
including any 'aspect' like concerns.



On Thursday, August 22, 2002, at 07:40 AM, Albertina Lourenci wrote:

>
>
> James McCartney wrote:
>
> Dear James:
> I studied CLOS and Common Lisp ten years ago. I forgot what
> macro systems means. Would you mind gently explaining it to me?
> Best wishes
> Albertina
>
>> I have the same question. All of the examples given seemed to be
>> something that having LISP like macros would solve.
>> A call for better macro systems in languages would seem to me the
>> appropriate response to the problem. But perhaps I missed something.
>>
>> On Wednesday, August 21, 2002, at 01:14 AM, Thorsten Dittmar wrote:
>>
>>> I'm asking because I followed the discussion about AOP over years and
>>> I had
>>> always the feeling that it solves problems that a good designed
>>> language
>>> does not have.
>>
>>
>>
>> Your use of Yahoo! Groups is subject to 
>> http://docs.yahoo.com/info/terms/
>>
>> ==========================================
>> This email message has been verified against viruses and SPAM using 
>> MIMESweeper.
>> Este email foi verificado quanto a SPAM e virus utilizando 
>> MIMESweeper.
>> http://www.mimesweeper.com
>> ==========================================
>
>
>
> Your use of Yahoo! Groups is subject to 
> http://docs.yahoo.com/info/terms/
>
> <lourenci.vcf>




More information about the Self-interest mailing list