[pypy-dev] Re: getting rid of compile.c?

Christian Tismer tismer at tismer.com
Tue Jan 14 17:27:03 CET 2003


holger krekel wrote:
...

> maybe, but doing a multi-stage bootstrap should bring back
> enough flexibility.  E.g. i think that something like the
> following could work:
>     
>     - the precompiled stage1-compiler compiles the stage2-compiler
>       while running on smallish C-based stage1-VM 
> 
>     - stage2-compiler (runing on stage1-VM) compiles python stage2-VM 
> 
>     - stage2-compiler (running on stage1-VM) recompiles stage2-compiler 
>       (probably with different bytecodes)
> 
>     - stage2-vm takes over 
> 
>     - new stage2-compiler (running on stage2-vm) is used subsequently 
> 
> One crucial point seems to be that the stage2 python compiler code 
> maps well to the stage1-VM and stage2-VM.  
> 
> does that make sense?

Comparing out latest postings tells me that
our brains match fairly well :-)

ciao - chris  (bootstrapping myself)



More information about the Pypy-dev mailing list