This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: New module system wishlist
- To: djurfeldt at nada dot kth dot se
- Subject: Re: New module system wishlist
- From: Neil Jerram <neil at ossau dot uklinux dot net>
- Date: Sat, 22 Jan 2000 11:41:17 GMT
- CC: guile at sourceware dot cygnus dot com
- References: <E12AixQ-00062S-00@mdj.nada.kth.se>
* cleanliness:
A module should be able to be totally clean. There should be no
need to have *any* extra bindings in a module (a la
%module-interface or `define-module').
What is the define-module binding for in the current module system?
Therefore, we should have at least one dedicated "command" or
"config" or "repl" module.
It would probably be a good idea to follow other good Scheme
interpreters' lead and introduce the ,<command> syntax for walking
around modules, inspecting things, entering the debugger, etc.
Such commands can be looked up in this repl module.
If we insist on not using ,<command> syntax, we are forced to let
the module use list consist of a "sticky" part and the rest, where
the "sticky" part is only available at the repl prompt and not to
the code within the module, and which follows us when we walk around
in the system.
Sorry, I don't understand this at all. Could you explain further?
Neil