This is the mail archive of the kawa@sourceware.cygnus.com mailing list for the Kawa project. See the Kawa home page for more information.
> It would be usefull if the user could browse the variables and > procedures defined in the environment. Well, some of the hooks are there. The R5RS call: (interaction-environment) gives you access to the top-level enevironment. The result is a real oject you can examine and modify. It is an instance of Environment, which in my current sources inherits from NameMap, which is an abstract mapping from symbols to bindings. (At some point, it will implement the new java.util.Map, but not until well after JDK1.2 is finally released.) What both Environment and NameMap lack is a way for Scheme code to iterate over all the bindings. I definitely do intend to add that. --Per Bothner Cygnus Solutions bothner@cygnus.com http://www.cygnus.com/~bothner