chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] using macros at runtime


From: felix winkelmann
Subject: Re: [Chicken-users] using macros at runtime
Date: Wed, 7 Jan 2009 10:32:35 +0100

On Wed, Jan 7, 2009 at 3:26 AM, Heinrich Taube <address@hidden> wrote:
> im using chicken 3.0.0 . I  have a file with some define-macro in it like
> this:
>
> (define-macro (send place . args)
>  (expand-send place args))
>
> I include that file in my main file ChickenBridge.scm
>
> (include "mymacros.scm")
> (declare
> (unit cm)
> (run-time-macros)
> (uses extras )
> (usual-integrations)
> (export
> ... send
> ))
>
>

It might be that you have to put the include file after the
declaration (or add "(declare (run-time-macros))" at the top
of your include file).


cheers,
felix




reply via email to

[Prev in Thread] Current Thread [Next in Thread]