This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
RE: order of macro expansion
- From: "Max Kirillov" <max at max630 dot net>
- To: kawa at sourceware dot org
- Date: Mon, 05 Mar 2012 01:02:35 -0700
- Subject: RE: order of macro expansion
Hello.
Per Bothner wrote:
>On 02/28/2012 12:30 AM, Max Kirillov wrote:
>> I would like to know if there is a way to manage (or at least predict)
>> macros expansion. For example, I have the following code:
> I think I need to see the definition of the imports macro.
After a several days after the post I discovered that was
really my mistake. It was not caused by hygiene, I just
forgot to put "." so got (begin ((define-alias ...) ...))
instead of (begin (define-alias ...) ...). For some reason
that did not produce error, and sometimes even worked.
I use symbol->string and string->symbol functions and so far
it works. In fact I don't into hygiene concept much, prefer
thinking in cl style. That sometimes fails, but usually
I get either a build failure or desired result.
Sorry I did not post a followup.
Thanks,
--
Max