chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Order of loading extensions and syntax extensions


From: felix winkelmann
Subject: Re: [Chicken-users] Order of loading extensions and syntax extensions
Date: Fri, 9 Jun 2006 22:26:32 +0200

On 6/8/06, Alejandro Forero Cuervo <address@hidden> wrote:

> Moving 'register-feature!' to the compiled file is best. With it in
> the syntax file the system "thinks" the extension is already loaded.

This would not solve the problem.  If something causes the compiled
file to be loaded, the system will still fail to load the syntax in
those cases when it should (eg. "(use stream-ext) (use srfi-40)").

That's right - we had this already, so:

"register-feature!" should not be used to register extension-names as
system features, period. Otherwise "require-extension" might get confused.

I have spoken.

(if I have done so myself, it was wrong)


(felix)




reply via email to

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