Re: A Working (but Minimal) JIT

2010-11-28 Thread Ken Raeburn
On Nov 28, 2010, at 17:36, Ludovic Courtès wrote: >>> * A uniform way to invoke native code from the VM, and VM code from >>> native code -- *preserving tail calls*. This seems to require either >>> trampolines within the VM or platform-specific tail-call assembly. >> >> This one could be hard

Re: Guile-SCSH

2010-11-28 Thread Jose A. Ortega Ruiz
On Mon, Nov 29 2010, Stefan Israelsson Tampe wrote: [...] >> I noticed that Gary Houston’s Guile-SCSH page at >> vanished, but you might want to get in touch >> with him... > > I will try. I wrote him back in the day and he sent me a tar with guile-scsh source code. L

Re: Guile-SCSH

2010-11-28 Thread Stefan Israelsson Tampe
On Sunday, November 28, 2010 11:30:05 pm Ludovic Courtès wrote: > Hi! > > Stefan Israelsson Tampe writes: > > Anyhow, I just checked in the current scsh in module/scsh in > > http://gitorious.org/guile-unify if there is a package you would like > > thean give me a hint. > > How about keeping it

Re: A Working (but Minimal) JIT

2010-11-28 Thread Ludovic Courtès
Hi! >> * A uniform way to invoke native code from the VM, and VM code from >>native code -- *preserving tail calls*. This seems to require either >>trampolines within the VM or platform-specific tail-call assembly. > > This one could be hard. I can make JITed code call the VM as a tail >

Guile-SCSH

2010-11-28 Thread Ludovic Courtès
Hi! Stefan Israelsson Tampe writes: > Anyhow, I just checked in the current scsh in module/scsh in > http://gitorious.org/guile-unify if there is a package you would like thean > give me a hint. How about keeping it separate from your other work? I noticed that Gary Houston’s Guile-SCSH page

Re: A Working (but Minimal) JIT

2010-11-28 Thread Noah Lavine
Hi, > I am concerned about complexity. I agree that complexity is a problem. I just sent an email about Jitgen, which is something I cooked up to reduce code duplication. However, I can't tell if it's going to end up reducing code complexity or increasing it. What do you think? > So what I would

Re: A Working (but Minimal) JIT

2010-11-28 Thread Noah Lavine
Hi, > I am concerned about complexity. I agree that complexity is a problem. I just sent an email about Jitgen, which is something I cooked up to reduce code duplication. However, I can't tell if it's going to end up reducing code complexity or increasing it. What do you think? > So what I would

Introducing Jitgen

2010-11-28 Thread Noah Lavine
Hello all, Attached is the first version of Jitgen, a system for writing virtual machines and matching JIT compilers without so much duplicated code. It's pretty rough, but I wanted to see what you thought of this version and ask for comments. The problem it's trying to solve is that if I made a

Re: how to exit?

2010-11-28 Thread Neil Jerram
Stefan Israelsson Tampe writes: > E.g. It handles the exit as an error. The setup has a list of pass-through > keys that, I think, is basicall '(quit). But issue (quit) does not work as > well. So probably the debug context does not follow that key's suggestion. > So this is sort of a show stopp