One last bit 'bout serializing
Per Bothner
per@bothner.com
Sat Apr 22 09:38:00 GMT 2000
Ittai Balaban <ittaib@CS.BGU.AC.IL> writes:
> But that's exactly what I'm doing. Things go fine as long as the function
> doesn't use toplevel functions defined outside its module. One of the
> problems is that when the deserialized version of the function is applied,
> it doesn't find the global env at the new site (even though kawa.repl has
> been set up) -- NullPointerException before anything is ever done (By
> `anything' I mean Interpreter.getInterpreter, or Environment.global_lookup,
> etc). Thus, my question was: How can this link be tweaked?
Did you do kawa.standard.Scheme.regsiterEnvironment() at the new site?
--
--Per Bothner
per@bothner.com http://www.bothner.com/~per/
More information about the Kawa
mailing list