[pypy-dev] Re: Project suggestions

Aurélien Campéas aurelien.campeas at free.fr
Sat Oct 1 14:44:50 CEST 2005

Armin Rigo a écrit :
> Hi Aurelien,
> On Thu, Sep 29, 2005 at 02:54:01PM +0200, Aur?lien Camp?as wrote:
>>That's what I tried first. Then I found it was much easier to work from 
>>pyrex translator (maybe because the later is slightly more complete than 
>>current gencl.py ?).
> Er, they are really both old pieces of code...

Yes, I have had this feeling.

> Note that the approach they use has a fundamental problem -- not trying
> to stop you, as it's indeed quite some fun :-)

This is an important point :)

>  The problem is that
> after the initial basic types like integers and strings, there are lots
> of methods to implement e.g. on lists and dicts,

I would tend to provide a huge prelude implemeting a close aprox. of 
those in CL (it is my plan).

> and then there are
> rather more obscure annotations like SomePBC() that are quite involved.
> Just to frighten you a bit, you'd also need at some point to do
> something like pypy/rpython/normalizecalls.py :-)

I can't really be frightened by something I don't know about nor 
understand ...

> What we have in mind is to support targets like CL by a modified RTyper
> (pypy/rpython/r*.py); it means that there would be an additional
> processing step between the graph-with-annotations and the CL backend
> which would simplify the graphs and replace complex operations and
> annotations with more primitive ones.  This will make the task of the
> backend far easier.

You have lost me :)


More information about the Pypy-dev mailing list