are you using the eval unit and using the repl function contained therein, or
did you roll your own repl? also, you should be able to require the
chicken-more-macros via (require 'chicken-more-macros) at the top.
-elf
On Thu, 24 Jul 2008, Jörg F. Wittenberger wrote:
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
_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users
_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users