Hi guys,

I'm playing with PyPy/RPython toolchain to create JITted interpreters
for some toy languages. Unfortunately I'm getting some strange errors
when performing the actual translation with:

  $ pypy ~/dev/pypy/rpython/bin/rpython -Ojit example4

The file I'm trying to translate is a modified example from the tutorial
from morepypy blog. Please take a look at the 3 files on the following
gist:

https://gist.github.com/miGlanz/5749914

The files in question are:

- example4.py - modified file from the tutorial; I get an error which is
  written in rpython.log
- example4-ok.py - this is a file that get translated correctly - please
  note the only difference is in Tape.advance()

I have more complicated code but I'm getting exactly the same error
there. Could you, please, tell me what I'm doing wrong? I am a total
noob when it comes to PyPy toolchain so please forgive my ignorance.

Thanks in advance.

-- 
Best regards,
Kamil Klimkiewicz
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to