chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] tinyclos and the repl


From: F. Wittenberger
Subject: Re: [Chicken-users] tinyclos and the repl
Date: Thu, 24 Jul 2008 14:45:12 +0200

Am Donnerstag, den 24.07.2008, 12:57 +0200 schrieb Thomas Chust:
> Rene Sansman wrote:
> 
> > [...]
> > Chicken has worked wonderfully for me so far, but now I have run into
> > a problem I don't know how to solve. I want to use tinyclos from the
> > repl, but it does not work. I can use it from compiled code or from
> > the interpreter, but not from a repl that I start from a compiled
> > scheme file.
> > [...]
> 
> Hello,
> 
> the REPL started from your program doesn't have access to the same 
> macros as the compiled source. There are at least two possible solutions 
> to this problem: You can explicitly load the tinyclos support macros at 
> runtime or you can instruct the compiler to retain all macros for 
> runtime using a (declare (run-time-macros)) form.

There must be at least one more trick.  I failed to get the latter
working.  Or better say: I got it half working: macros *defined* in the
unit, which did (declare (run-time-macros)) where available, but I
failed to get chicken-more-macros included.  How would I do that?

thanks

/Jörg




reply via email to

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