[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] callbacks without having a C_toplevel()
From: |
felix winkelmann |
Subject: |
Re: [Chicken-users] callbacks without having a C_toplevel() |
Date: |
Wed, 31 Aug 2005 21:22:20 +0200 |
On 8/25/05, Daniel B. Faken <address@hidden> wrote:
>
> I take this back.. It seems that macros are not available
> -- not even require-extension! -- in CHICKEN_eval_string() & friends.
>
> (require 'ID) works, but if I try (include "chicken-more-macros"),
> 'include' is not defined either.
>
> I know this is a tricky issue (deciding what is available without
> requiring include/require/require-for-syntax), but I assume
> this is not the desired behaviour?
The current darcs head has `require-extension' available by default,
in addition, evaluating `(require-extension chicken-more-macros)' should
work now.
>
> On another note: (require 'library) fails, even in csi:
> _______ _ __
> / ___/ / (_)___/ /_____ ___
> / /__/ _ \/ / __/ '_/ -_) _ \
> \___/_//_/_/\__/_/\_\\__/_//_/
>
> Version 2, Build 106 - linux-unix-gnu-x86 - [ dload ]
> (c)2000-2005 Felix L. Winkelmann
> #;1> (require 'library)
> Error: (require) can not load extension: library
>
Yes, because it doesn't make much sense: you need the library
to have eval, which provides `require'...
cheers,
felix