Em 21/06/2007, às 16:53, Jakub Gustak escreveu: > I was looking into some code, JS interpreter to be exact. > > I wonder what are the pros and cons of implementing evaluation context > as stack/list (as in JS interpreter) in opposite to implementing it as > dictionary. > > If there is one name space for all objects in Scheme (I mean, there is > no distinction between variable or function when naming them), > dictionary would be the most straight forward. There is no need for a > special way to resolve naming conflicts and so on. > > Or am I missing something?
On the js interpreter I only used a stack of objects because the specs said to do so... I never felt that that was a good idea, so you are probably better following what you think is best/easier. Good luck, -- Leonardo Santagada Sent from my iPhone _______________________________________________ [email protected] http://codespeak.net/mailman/listinfo/pypy-dev
