Andy Wingo writes:
> On Mon 31 Aug 2009 10:46, l...@gnu.org (Ludovic Courtès) writes:
[...]
>> Programs that want to rely on bare R5RS (e.g., SILex) have nothing else
>> but `load' to have code in separate files. So I think the compiler
>> should special-case top-level `load', `primitive-load'
On Mon 31 Aug 2009 10:46, l...@gnu.org (Ludovic Courtès) writes:
> Hi,
>
> Andy Wingo writes:
>
>> Now, does this indicate a bug in Guile, or at least an undesirable
>> behavior?
>
> Yes, I think so.
>
> Programs that want to rely on bare R5RS (e.g., SILex) have nothing else
> but `load' to have
Hi,
Andy Wingo writes:
> Now, does this indicate a bug in Guile, or at least an undesirable
> behavior?
Yes, I think so.
Programs that want to rely on bare R5RS (e.g., SILex) have nothing else
but `load' to have code in separate files. So I think the compiler
should special-case top-level `lo
Andy Wingo writes:
> Thank you for the bug report, it was quite interesting.
Thank you for your clear explanation, and your solutions are
simple to implement.
> When compiling tryme, what happens is that `(load "dotimes.scm")' gets
> compiled into a load at runtime -- but the dotimes.scm isn't
Hi Barry,
Thank you for the bug report, it was quite interesting.
On Sat 29 Aug 2009 17:49, Barry Fishman writes:
> #! /bin/sh
> # -*- scheme -*-
> exec guile -s "$0" $*
> !#
>
> (load "dotimes.scm")
>
> (dotimes (indx 5)
> (display indx)
> (newline))
When compiling tryme, what happens is