Hi Gabriel,

On Fri, May 20, 2011 at 9:36 PM, Gabriel Jacobo <gabo...@gmail.com> wrote:
> I have a good chunk of python code that uses properties all around, and I
> wanted to see if I can run it through the pypy machinery and eventually come
> the other side with a javascript end product (via RPythonic). Do you have any
> suggestions as to best solve this situation? (Preprocessing the code somehow
> perhaps?)

Any random large chunk of Python code is not RPython at all.  You may
hit the issue of properties right now, but I can assure you that there
will be many other issues.  "Being RPython" is a property best
achieved by writing code from scratch, not by trying to convert
existing code.  It's a bit like trying to convert a Python program to
Java; it's painful, and usually better to just write the Java program
from scratch.


A bientôt,

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

Reply via email to