> > Just curious. Googling for 'python "dis module" convert "another
> > language" ' only got two hits. So maybe no one is trying it? I was
> > just daydreaming about a native python compiler, and wondered how
> > feasible it would be.
>
> You might be interested in Pyrex and Psyco:
> http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/
> http://psyco.sourceforge.net/


PyPy might also be very useful:

    http://codespeak.net/pypy/

The Pypy project already has enough to retarget Python to Common Lisp,
which can be compiled.  It looks like they started thinking of it in 2003,

    http://codespeak.net/pipermail/pypy-dev/2003q4/001048.html

and there's now code in the 'translator' module that does magical stuff.
*grin*

    http://codespeak.net/svn/pypy/dist/pypy/translator/translator.py

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to