Hi Léonard,

On 06/20/2012 06:23 PM, Léonard de Haro wrote:
> 
> My interpreting function takes an AST, a dictionnary of function declaration
> and an environment (cps version has the continuation as well). Everything is
> declared green.

I didn't read the code, but this looks wrong. You should declare the variables
representing "the program" as green, and the variables representing "the
state" as red. Else, the JIT tries to specialize *everything* and you never
get fast code.

This might also be the cause of your stack overflow (blind guess). Try to
declare the environment as red (and maybe the dictionary of functions, it
depends whether it is static or dynamic).

ciao,
Anto
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to