Hi Léonard,

On Wed, Jun 20, 2012 at 6:23 PM, Léonard de Haro <leonard.de.h...@ens.fr> wrote:
> - What is the stack overflow?

It's just what it says: a stack overflow.  RPython has no CPS or
tail-recursion support, so it doesn't support arbitrary heap-limited
recursion.  Have a look at the Prolog interpreter
(https://bitbucket.org/cfbolz/pyrolog) to see an example of how to
work around this.  It is also described in papers like "Towards a
jitting VM for prolog execution" or "Towards Just-In-Time partial
evaluation of prolog" (C.F. Bolz et al.).


A bientôt,

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

Reply via email to