This is the mail archive of the
mailing list for the Guile project.
Re: About modules
Clark McGrew <email@example.com> writes:
> I think it's important that gh_ not require using the scm_ interface.
> Does (or will) gh_ provide some way to get the environment pointers
> needed for gh_define, gh_load and gh_eval?
You can create a new environment and start a repl in it. But there
are no global environment pointers. Without an additional environment
parameter you can't even access the module repository because that's
also an environment.
I must create a state variable for use with the gh_ API. But that
means that the gh_ functions will somehow live their own life.