[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gh_repl
From: |
Mike Gran |
Subject: |
Re: gh_repl |
Date: |
Mon, 9 Jan 2012 11:16:31 -0800 (PST) |
> 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.
Thanks,
Mike