guile-devel
[Top][All Lists]
Advanced

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

Re: guile-vm 0.4


From: Neil Jerram
Subject: Re: guile-vm 0.4
Date: 13 Apr 2001 10:15:08 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

>>>>> "Keisuke" == Keisuke Nishida <address@hidden> writes:

    Keisuke> At 12 Apr 2001 13:42:28 -0500,
    Keisuke> Rob Browning wrote:
    >>  This seems fine with me, though it doesn't address the case
    >> where you want to generate and run byte-compiled/jit-compiled
    >> code, but don't want to write any files to disk (i.e. you only
    >> keep .scm files on disk).

    Keisuke> Just loading it without `compile-file' would mean
    Keisuke> compiling it on memory without writing.  Without
    Keisuke> compilation, my VM cannot execute it.

Now I'm confused.  Earlier you said that, if your VM found the
expression (load "foo.scm") somewhere in the module that it was
compiling, it would simply invoke `load' as a procedure, and then
`load' would do its own non-VM thing.

So a `load' at top level in your REPL automatically implies
compilation, but a `load' in the compiled code doesn't?  Is that
correct?  Is it possible somehow to cause `load's in compiled code to
imply compilation as well?  (I suppose yes, you just need to redefine
`load' in the environment of the compiled code module before compiling
it.)

Regards,
        Neil



reply via email to

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