guile-devel
[Top][All Lists]
Advanced

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

Re: binary loadable files


From: Keisuke Nishida
Subject: Re: binary loadable files
Date: Wed, 31 Jan 2001 13:32:43 -0500
User-agent: Wanderlust/2.4.0 (Rio) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) Emacs/21.0.96 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI)

At Wed, 31 Jan 2001 03:23:01 -0600,
Chris Cramer wrote:
> 
> Couldn't you make a non-primitive procedure that references the
> primitive procedure? E.g. if you were to store car, instead store
> (lambda (x) (car x)).

I'm going to compile non-primitives and store bytecodes,
which are then `linked' with primitives during loading time.
Probably primitive procedures can be saved in the same way.

> This would still fail if you load a shared library, save a primitive
> from that library, and then unload the library and try to load the
> primitive -- but I don't think it would cause problems for most code.

I would save the primitive with its library (or module) name.
When you load the primitive, it will automatically load the
module as well.

Kei



reply via email to

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