From: Ken A. <kan...@bb...> - 2004-07-09 14:36:46
|
Q1`: In src/jsint/Evaluator.java: public DynamicEnvironment INTERACTION_ENVIRONMENT Should this be static final, or should it be named interactionEnvironment? Q2: analyze() line 265: return new DynamicVariable((Symbol)x, dynamicEnv); This returns a new DynamicVariable for each use of a symbol in the body. Shouldn't it reuse one if there is one already like Symbol.intern()? Though that might require a synchronized method. k |