On Mon 09 Jan 2012 19:11, Mike Gran <[email protected]> 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). Andy -- http://wingolog.org/
