I've been trying to figure out what the difference is between gscm_run_scm and
gscm_init_from_fn. Obviously gscm_init_from_fn doesn't evaluate any initial
command, and you cannot tell it which files to bind to *stdin*, *stdout*,
*stderr*. I assume that it will bind *stdout* to stdout, *stderr* to stderr,
but not *stdin* to stdin (since otherwise gscm_take_stdin wouldn't be
needed).
But from a short look at the code, there seem to be significant differences as
to which initializations get performed (gscm_run_scm calls many more
scm_init_* functions than gscm_init_from_fn). Would I have to call all of
these if I wanted to use gscm_init_from_fn? What is the advantage of
gscm_init_from_fn over gscm_run_scm since both take an initfn to start
optional parts of guile?
Also: what happened to guile_ks and guile_mini? guile_ks still exists, but
doesn't do anything (except for return 0;), guile_mini seems to have
disappeared.
I am trying to update the 'Initializing the Interpreter' section of the
using-guile document (primarily for my own use, but if there is interest, I'll
make the changes available), and these are the points where I got stuck.
Something else: will scm_init_rgx() and scm_init_socket() reappear?
Achim