* Reloading modules with out restarting guile?
@ 2002-03-25 21:38 Brett Viren
2002-03-26 2:46 ` Christopher Cramer
0 siblings, 1 reply; 2+ messages in thread
From: Brett Viren @ 2002-03-25 21:38 UTC (permalink / raw)
Hi,
With out quitting and restarting the guile exectuable, is there a way
to re-load a pure scheme module after its source file has been edited?
This seems to work with a simple file and the "load" function, but not
"use-modules".
What about a module that uses a scheme file that then calls
dynamic-link/dynami-call, can this be reloaded after it has been
modified/recompiled?
Thanks,
-Brett.
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Reloading modules with out restarting guile?
2002-03-25 21:38 Reloading modules with out restarting guile? Brett Viren
@ 2002-03-26 2:46 ` Christopher Cramer
0 siblings, 0 replies; 2+ messages in thread
From: Christopher Cramer @ 2002-03-26 2:46 UTC (permalink / raw)
Cc: guile-user
On Mon, Mar 25, 2002 at 04:38:44PM -0500, Brett Viren wrote:
> With out quitting and restarting the guile exectuable, is there a way
> to re-load a pure scheme module after its source file has been edited?
> This seems to work with a simple file and the "load" function, but not
> "use-modules".
Calling load is pretty much the only way, since use-modules won't load
a module that is already loaded.
> What about a module that uses a scheme file that then calls
> dynamic-link/dynami-call, can this be reloaded after it has been
> modified/recompiled?
If you explicitly unload the shared library, this might be possible.
--
Christopher Cramer <crayc@pyro.net> <http://www.pyro.net/~crayc/>
Quoi que vous fassiez, écrasez l'infâme, et aimez qui vous aime.
-- Voltaire
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-03-26 2:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-25 21:38 Reloading modules with out restarting guile? Brett Viren
2002-03-26 2:46 ` Christopher Cramer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).