guile-devel
[Top][All Lists]
Advanced

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

Re: Problems with LOAD and latest build


From: Ludovic Courtès
Subject: Re: Problems with LOAD and latest build
Date: Thu, 03 Sep 2009 18:14:52 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Andy Wingo <address@hidden> writes:

> On Mon 31 Aug 2009 10:46, address@hidden (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', etc., calls.
>
> Programs that rely on bare R5RS still need some help in Guile 1.8 to
> load up syntax-rules. If they don't load up syntax-rules, they can't
> define macros (barring defmacro which is not R5RS), and without there's
> no difference between load and load-for-syntax.

Actually, in the absence of macros (as is the case with SILex), it
doesn't matter whether `load' is done at expansion time or compile time,
after all.  So this kind of code should be fine either way.

You're probably right that there's no Right Thing when macros come into
play.

Thanks,
Ludo'.





reply via email to

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