guile-user
[Top][All Lists]
Advanced

[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 22:24:52 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

On Mon 09 Jan 2012 20:16, Mike Gran <address@hidden> writes:

>> From: Andy Wingo <address@hidden>
>  >>  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).
>
> Thanks.  I noticed the limitations you mentioned, but, didn't know
> what to do about it.  The solution I posted was the first solution
> I found from a cursory search of the web.
>  
> I'll try it out.

Sounds like we should have a C function, no?

(Sorry, not trying to deluge you in mail here :-)

Let's consider this to be an open bug, that we should fix somehow.

Andy
-- 
http://wingolog.org/



reply via email to

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