guile-devel
[Top][All Lists]
Advanced

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

Re: binary loadable files


From: Marius Vollmer
Subject: Re: binary loadable files
Date: 30 Jan 2001 15:58:46 +0100
User-agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7

Keisuke Nishida <address@hidden> writes:

> Hello,
> 
> I'm considering how to store bytecodes in binary files.
> I want to make it as general as possible, so that I can
> store not only bytecodes but also any Scheme objects.

This is what Lisp calls `fasloading' [sic], I think.  I have some code
for this in my evaluator experiment, somewhere here:

    ftp://krusty.e-technik.uni-dortmund.de/pub/people/mvo/

You might want to have a look.  I also found the sources of CMUCL or
SBCL helpful for learning how the big boys do this.

> I'm thinking of the following procedures:
> (Are there better names?)
> 
>   ;; Write OBJ to PORT in the binary format
>   (dump OBJ [PORT])
> 
>   ;; Read an object from PORT in the binary format
>   (pull [PORT])

What about `undump'?



reply via email to

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