[Top][All Lists]

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

Re: gh_repl

From: Andy Wingo
Subject: Re: gh_repl
Date: Mon, 09 Jan 2012 19:37:37 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

On Mon 09 Jan 2012 19:11, Mike Gran <address@hidden> writes:

>> scm_call_1 (scm_public_ref ("ice-9 top-repl", "top-repl")) ?
>> Do we need a better answer here? :)
> For guile-2.0, I eventually settled on 
> scm_call_1 (scm_c_public_ref ("system repl repl", "start-repl"),
>    scm_from_locale_symbol ("scheme"));

This won't catch SIGINT, and it won't add on the session, regex, and
threads bindings to your guile-user.  Is that what you wanted?

See ice-9/top-repl.scm (which eventually does dispatch to that
start-repl command).


reply via email to

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