Hi Ben, On Mon, Jun 13, 2005 at 02:34:47PM +0100, [EMAIL PROTECTED] 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, Armin _______________________________________________ [email protected] http://codespeak.net/mailman/listinfo/pypy-dev
