[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] macro expansion
From: |
Joerg F. Wittenberger |
Subject: |
Re: [Chicken-users] macro expansion |
Date: |
11 Dec 2002 14:59:07 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) |
Felix Winkelmann <address@hidden> writes:
> Joerg F. Wittenberger wrote:
> > Hello,
> > I have some source code, which compiles fine (but is buggy), how do I
>
> > load that into the resulting executable? Yes, 'load' but this appears
> > not to know about defind-macro forms, how do I get them to work.
> >
>
>
> What exactly do you mean with define-macro forms? Do you need
> the macros definitions in the *loaded* file or in the *loading* file?
> Or better: can you give an example?
More primitive: The loaded code contains
(define-macro (my-fine-macro arg) `(my-damn-proc ,arg))
and the loader appears not to know about 'define-macro' and hence
complains about variable 'arg' not bound (when preparing the call to
'my-find-macro instead of defining it.)
/Jörg
--
The worst of harm may often result from the best of intentions.