[pypy-dev] Re: [pypy-svn] r13328 - pypy/dist/pypy/translator/test

Armin Rigo arigo at tunes.org
Tue Jun 14 11:34:04 CEST 2005

Hi Ben,

On Mon, Jun 13, 2005 at 02:34:47PM +0100, Ben.Young at risk.sungard.com wrote:
> Is it ever the case where the translator doesn't know which annotation 
> steps/optimization steps are needed? I.e could this not just be done so 
> that the translator entry point does all the work setting up what is 
> needed? There could be some common code for processing shared options but 
> is a dependancy manager really needed?

I was more referring to the class Translator instead of the command-line
front-end.  This class has a number of methods to invoke and inspect the
various phases.  Various tests want to test various phases, so it's not
always the case that we are just interested in getting compiled code and
letting the corresponding back-end figure out what it needs.  Moreover
intermediate phases like annotation actually require some input
(the argument types), so they can't just be run automatically.  (In this
case the depencendy manager would complain if the phase hasn't been run.)

A bientot,


More information about the Pypy-dev mailing list