l...@gnu.org (Ludovic Courtès) writes:
> Hello,
>
> Andy Wingo writes:
>
>> The compiler is almost to the point that it can replace the interpreter,
>> semantically. What is needed is to read and compile toplevel definitions
>> one at a time, so we can e.g. change the reader, or the other dynamic
Hello,
Andy Wingo writes:
> The compiler is almost to the point that it can replace the interpreter,
> semantically. What is needed is to read and compile toplevel definitions
> one at a time, so we can e.g. change the reader, or the other dynamic
> things that people expect. Then if that's the
Ludovic Courtès writes:
Hey, walking in Dybvig's footsteps? ;-)
Andy Wingo wrote:
I can only hope to do so ;-) That guy is smart!
For those of us not lucky enough to attend his lectures at Indiana
University, here's a good video presentation by Kent on the subject of
macros:
http
Andy Wingo writes:
> I understand. I wish that we lived in a world in which (timewise)
> compilation + running == interpretation, so we could just do the former,
> but that is not yet our world. However both Chez and SBCL have the
> former model, so in a software engineering sense it might be wor
Howdy howdy,
On Mon 02 Mar 2009 22:55, l...@gnu.org (Ludovic Courtès) writes:
> Andy Wingo writes:
>
>> The compiler
>> recognizes both call-with-values and @call-with-values, so we could just
>> not compile call-with-values; less nasty, but still nasty, and penalizes
>> the vm in the (apply cal
Hello!
Andy Wingo writes:
> On Mon 02 Mar 2009 00:48, l...@gnu.org (Ludovic Courtès) writes:
>> As for (1), I'm unsure. The issue is that as long as running code with
>> the interpreter is the default, people may hit this kind of problem,
>> which is, well, problematic. Now, I have no idea ho
Heya,
On Mon 02 Mar 2009 00:48, l...@gnu.org (Ludovic Courtès) writes:
>> 1) It is expected that you don't have tail recursion between
>> interpreted and VM code.
>>
>> 2) This particular problem manifests itself in that call-with-values
>> is VM code (when r5rs.scm is compiled).
>
Hello!
Andy Wingo writes:
> On Sat 28 Feb 2009 15:45, l...@gnu.org (Ludovic Courtès) writes:
>> Actually no: it works with VM-compiled code, but it breaks when using
>> Guile-VM with `,o interp #t' (which appears to be the default, except at
>> the REPL).
>
> This is a misunderstanding.
>
> Las
Hey Ludo!
On Sat 28 Feb 2009 15:45, l...@gnu.org (Ludovic Courtès) writes:
> l...@gnu.org (Ludovic Courtès) writes:
>
>> Use of multiple values breaks tail recursion in VM-compiled code:
>>
>> (let loop ((x 100))
>> (and (> x 0)
>> (call-with-values
>> (lambda ()
l...@gnu.org (Ludovic Courtès) writes:
> Use of multiple values breaks tail recursion in VM-compiled code:
>
> (let loop ((x 100))
> (and (> x 0)
> (call-with-values
> (lambda ()
>(values (1+ x) (1- x)))
>(lambda (next prev)
>
10 matches
Mail list logo