[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] External procedures at runtime
From: |
felix winkelmann |
Subject: |
Re: [Chicken-users] External procedures at runtime |
Date: |
Tue, 24 Jul 2007 07:48:16 +0200 |
On 7/24/07, John Cowan <address@hidden> wrote:
IWBNI there were some way to examine a procedure object at runtime
to see if the procedure is externally callable. That would make
it possible to pass (certain) Scheme procedures safely to C code.
What exactly do you mean with "externally callable". Do you mean that
it should be possible to recognize procedures defined with "define-external"?
This shouldn't be too hard: the lolevel unit has some functions for decorating
procedures with arbitrary data and a custom variant macro of "define-external"
could then expand into the normal define-external + decorator code.
cheers,
felix