[pypy-dev] Notes on compiler package

Christian Tismer tismer at tismer.com
Thu Jan 23 03:56:27 CET 2003


logistix wrote:
> I'm finally starting to get my head wrapped around the compiler package,
> and thought I'd pass some notes on to the group since it's a beast:
> 
> 1) Other than the original AST generation, it looks like it's all pure
> python (not tying into the C source).  The original AST comes from the
> parser module, which is a pure wrapper module (although I've already
> posted python code to build ast's here)

Oh, is that true?
Last time, when I analysed what it would take to
build a compiler for Python in Python, I ended
up in the parser module being called, finally,
which called back into the internals stuff.
This was for Python 2.2.2; maybe this changed now?

ciao - chris



More information about the Pypy-dev mailing list