PyPy directory cross-referenceΒΆ
Here is a fully referenced alphabetical two-level deep directory overview of PyPy:
Directory | explanation/links |
---|---|
pypy/bin/ | command-line scripts, mainly pypy/bin/pyinteractive.py |
pypy/config/ | handles the numerous options for building and running PyPy |
pypy/doc/ | text versions of PyPy developer documentation |
pypy/doc/config/ | documentation for the numerous translation options |
pypy/doc/discussion/ | drafts of ideas and documentation |
doc/*/ | other specific documentation topics or tools |
pypy/interpreter/ | bytecode interpreter and related objects (frames, functions, modules,...) |
pypy/interpreter/pyparser/ | interpreter-level Python source parser |
pypy/interpreter/astcompiler/ | interpreter-level bytecode compiler, via an AST representation |
pypy/module/ | contains mixed modules implementing core modules with both application and interpreter level code. Not all are finished and working. Use the --withmod-xxx or --allworkingmodules translation options. |
pypy/objspace/ | object space implementations |
pypy/objspace/std/ | the StdObjSpace implementing CPython’s objects and types |
pypy/tool/ | various utilities and hacks used from various places |
rpython/tool/algo/ | general-purpose algorithmic and mathematic tools |
pypy/tool/pytest/ | support code for our testing methods |
rpython/annotator/ | type inferencing code for RPython programs |
rpython/config/ | handles the numerous options for RPython |
rpython/flowspace/ | the FlowObjSpace implementing abstract interpretation |
rpython/rlib/ | a “standard library” for RPython programs |
rpython/rtyper/ | the RPython Typer |
rpython/rtyper/lltypesystem/ | the low-level type system for C-like backends |
rpython/memory/ | the garbage collector construction framework |
rpython/translator/ | translation backends and support code |
rpython/translator/backendopt/ | general optimizations that run before a backend generates code |
rpython/translator/c/ | the GenC backend, producing C code from an RPython program (generally via the rtyper) |
pypy/goal/ | our main PyPy-translation scripts live here |
rpython/translator/tool/ | helper tools for translation |
dotviewer/ | graph viewer |
*/test/ | many directories have a test subdirectory containing test modules (see Testing in PyPy) |
_cache/ | holds cache files from various purposes |