This is the mail archive of the kawa@sourceware.cygnus.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: problem with environments


Jim White <jim@pagesmiths.com> writes:

> The difference is that registerEnvironment sets 
> Interpreter.defaultInterpreter.  The comment on registerEnvironment sez 
> that this is the method Kawa uses when generating applications and applets, 
> and so is probably the preferred api.

Yes, I think this is a reasonable thing to do for now.

Long-term, we need the ability to associate an Interpreter with a
specific thread (or ThreadGroup).  I also haven't quite satisfied
myself that we have the right relationship between an Environment
and an Interpreter.  (One option that might make sense is to have
Interpreter extend Environment.  Then you could pass an Interpreter
to eval, load, etc.)
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/~per/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]