[pypy-dev] New genc implementation

Armin Rigo arigo at tunes.org
Wed Jun 8 14:53:46 CEST 2005


Hi Ben,

On Mon, Jun 06, 2005 at 09:53:13AM +0100, Ben.Young at risk.sungard.com wrote:
> I was interested in playing with the new c translator, and was wondering 
> if there was a way of using it yet through the general Translator class, 
> or whether it has not been plugged in at this point? Is it possible to use 
> it in translate_pypy, even if it doesn't compile? 

It is not plugged in yet, indeed.  There is one last missing bit before
it can start replacing the old genc: generating function calls in the
absence of low-level types.  It can only generate them if the RTyper has
done its job.  The RTyper is very incomplete and crashes on most real
examples at the moment, so it's a problem.

I guess I should just take a few hours and finish this -- in other words
make the new generator able to translate large un-annotated examples --
plug it into the translator, and good-bye old genc.


A bientot,

Armin.



More information about the Pypy-dev mailing list