guile-devel
[Top][All Lists]
Advanced

[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: 03 Jun 2001 14:56:29 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.102

Rob Browning <address@hidden> writes:

> Marius, I noticed you'd backed out a change to boot-9.scm.
> 
>   * boot-9.scm (top-repl): Revert part of the 2001-05-19 change.
>   When defining the guile-user module, do not use any modules.  Add
>   them to guile-user when `top-repl' is called.
> 
> and since my command line processing stuff was depending on being able
> to add a ":use-modules (ice-9 script)" there, I wanted to check to see
> what the proper way for me to handle that now would be.

Hmm, what is your specific problem?

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?).

Loading and accessing the module from C would look like this:

    SCM mod = scm_c_resolve_module ("ice-9 script");
    SCM guile_main = scm_c_module_lookup (mod, "guile-main");

    scm_apply (guile_main, SCM_EOL, SCM_EOL);



reply via email to

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