[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guile-vm 0.3
From: |
Keisuke Nishida |
Subject: |
Re: guile-vm 0.3 |
Date: |
Tue, 03 Apr 2001 17:38:39 -0400 |
User-agent: |
Wanderlust/2.4.0 (Rio) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) Emacs/21.0.99 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) |
At 03 Apr 2001 13:46:24 -0500,
Rob Browning wrote:
>
> If, with reasonable effort, the VM or Lightning could be ready for
> limited use in a month or so, then we'd probably like to help with
> that. However, if it's going to be a lot longer than that, then I
> suspect we should proably hold off, spend some time on other features
> we need, and come back and help once we've finished those.
Hmm, if you don't need to support modules, like hobbit, you can use
my VM reasonably soon, by translating Scheme into GHIL directly:
(car x) => (@car x) ;; Don't look up `car' in modules
You can evaluate all expressions in `current-module' of Guile's
module system. Right now, my compiler basically produces the
following bytecode:
foo ->
load-module "user" ;; the module identified by the compiler
load-symbol "foo"
link ;; look up the symbol in the module above
variable-ref
You can modify it like this:
load-symbol "foo"
link/current-module ;; look up the symbol in the current module
variable-ref
All top-level variables are linked with the current module.
Probably this is all you have to do to support the current
module system.
Maybe I'll do it right now.
Kei
- guile-vm 0.3, Keisuke Nishida, 2001/04/01
- Re: guile-vm 0.3, Evan Prodromou, 2001/04/01
- Re: guile-vm 0.3, Rob Browning, 2001/04/03
- Re: guile-vm 0.3,
Keisuke Nishida <=
- Re: guile-vm 0.3, Rob Browning, 2001/04/03
- Re: guile-vm 0.3, Keisuke Nishida, 2001/04/03
- Re: guile-vm 0.3, Rob Browning, 2001/04/03
- Re: guile-vm 0.3, Keisuke Nishida, 2001/04/03
- Re: guile-vm 0.3, Rob Browning, 2001/04/04
- Re: guile-vm 0.3, Keisuke Nishida, 2001/04/04
- Re: guile-vm 0.3, Rob Browning, 2001/04/04
- Re: guile-vm 0.3, Keisuke Nishida, 2001/04/04
- Re: guile-vm 0.3, Rob Browning, 2001/04/05
- Question about your profiling patch..., Rob Browning, 2001/04/04