| 1 |
PyPy directory cross-reference |
| 2 |
============================== |
| 3 |
|
| 4 |
Here is a fully referenced alphabetical two-level deep |
| 5 |
directory overview of PyPy, plus some relevant top-level directories: |
| 6 |
|
| 7 |
======================================== ============================================ |
| 8 |
Directory explanation/links |
| 9 |
======================================== ============================================ |
| 10 |
:source:`pypy/bin/` command-line scripts, mainly |
| 11 |
:source:`pypy/bin/pyinteractive.py` |
| 12 |
|
| 13 |
:source:`pypy/config/` handles the numerous options for building |
| 14 |
and running PyPy |
| 15 |
|
| 16 |
:source:`pypy/doc/` text versions of PyPy developer |
| 17 |
documentation |
| 18 |
|
| 19 |
:source:`pypy/doc/config/` documentation for the numerous translation |
| 20 |
options |
| 21 |
|
| 22 |
:source:`pypy/doc/discussion/` drafts of ideas and documentation |
| 23 |
|
| 24 |
:source:`pypy/goal/` our main PyPy-translation scripts |
| 25 |
live here |
| 26 |
|
| 27 |
:source:`pypy/interpreter/` :doc:`bytecode interpreter <interpreter>` and related objects |
| 28 |
(frames, functions, modules,...) |
| 29 |
|
| 30 |
:source:`pypy/interpreter/pyparser/` interpreter-level Python source parser |
| 31 |
|
| 32 |
:source:`pypy/interpreter/astcompiler/` interpreter-level bytecode compiler, |
| 33 |
via an AST representation |
| 34 |
|
| 35 |
:source:`pypy/module/` contains :ref:`mixed modules <mixed-modules>` |
| 36 |
implementing core modules with |
| 37 |
both application and interpreter level code. |
| 38 |
Not all are finished and working. Use |
| 39 |
the ``--withmod-xxx`` |
| 40 |
or ``--allworkingmodules`` translation |
| 41 |
options. |
| 42 |
|
| 43 |
:source:`pypy/objspace/` :doc:`object space <objspace>` implementations |
| 44 |
|
| 45 |
:source:`pypy/objspace/std/` the :ref:`StdObjSpace <standard-object-space>` implementing CPython's |
| 46 |
objects and types |
| 47 |
|
| 48 |
:source:`pypy/tool/` various utilities and hacks used |
| 49 |
from various places |
| 50 |
|
| 51 |
:source:`pypy/tool/pytest/` support code for our :ref:`testing methods <testing>` |
| 52 |
|
| 53 |
:source:`lib-python/` our patched fork of the CPython standard library |
| 54 |
|
| 55 |
:source:`lib_pypy/` contains pure Python implementation of modules that CPython implements in C |
| 56 |
|
| 57 |
:source:`extra_tests/` extra application-level tests that are usually run after translation |
| 58 |
|
| 59 |
``*/test/`` many directories have a test subdirectory |
| 60 |
containing test |
| 61 |
modules (see :ref:`testing`) |
| 62 |
|
| 63 |
``_cache/`` holds cache files from various purposes |
| 64 |
======================================== ============================================ |