[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Recent guile-user related reversion in boot-9.scm
From: |
Marius Vollmer |
Subject: |
Re: Recent guile-user related reversion in boot-9.scm |
Date: |
04 Jun 2001 17:18:14 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.102 |
Rob Browning <address@hidden> writes:
> Marius Vollmer <address@hidden> writes:
>
> > Thinking about this issue, I would say that `top-repl' might be moved
> > into the (ice-9 script) module as well, and scm_shell would load that
> > module and pass control to `guile-main' (right?).
>
> It's the other way around -- scm_shell calls guile-main, guile-main
> parses the args, builds a set of forms to perform the actions
> specified on the command line, and then calls eval on the set of
> forms.
Yes, that's what I meant.
> So presuming we want the envt during argument execution (-c, -x, -l,
> etc.) to be the normally populated guile-user module,
I think it boils down to what we want "normally populated guile-user
module" to mean. Should it normally use `(ice-9 threads)', or
shouldn't it? The current answer is that for the repl, it should use
it since that is convenient, but for a script, it shouldn't since it
improves startup time not to use it and scripts should specify all the
modules they need anyway.