File: dir-reference.rst

package info (click to toggle)
pypy3 7.3.19%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 212,236 kB
  • sloc: python: 2,098,316; ansic: 540,565; sh: 21,462; asm: 14,419; cpp: 4,451; makefile: 4,209; objc: 761; xml: 530; exp: 499; javascript: 314; pascal: 244; lisp: 45; csh: 12; awk: 4
file content (64 lines) | stat: -rw-r--r-- 3,330 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
PyPy directory cross-reference
==============================

Here is a fully referenced alphabetical two-level deep
directory overview of PyPy, plus some relevant top-level directories:

========================================  ============================================
Directory                                 explanation/links
========================================  ============================================
:source:`pypy/bin/`                       command-line scripts, mainly
                                          :source:`pypy/bin/pyinteractive.py`

:source:`pypy/config/`                    handles the numerous options for building
                                          and running PyPy

:source:`pypy/doc/`                       text versions of PyPy developer
                                          documentation

:source:`pypy/doc/config/`                documentation for the numerous translation
                                          options

:source:`pypy/doc/discussion/`            drafts of ideas and documentation

:source:`pypy/goal/`                      our main PyPy-translation scripts
                                          live here

:source:`pypy/interpreter/`               :doc:`bytecode interpreter <interpreter>` and related objects
                                          (frames, functions, modules,...)

:source:`pypy/interpreter/pyparser/`      interpreter-level Python source parser

:source:`pypy/interpreter/astcompiler/`   interpreter-level bytecode compiler,
                                          via an AST representation

:source:`pypy/module/`                    contains :ref:`mixed modules <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.

:source:`pypy/objspace/`                  :doc:`object space <objspace>` implementations

:source:`pypy/objspace/std/`              the :ref:`StdObjSpace <standard-object-space>` implementing CPython's
                                          objects and types

:source:`pypy/tool/`                      various utilities and hacks used
                                          from various places

:source:`pypy/tool/pytest/`               support code for our :ref:`testing methods <testing>`

:source:`lib-python/`                     our patched fork of the CPython standard library

:source:`lib_pypy/`                       contains pure Python implementation of modules that CPython implements in C

:source:`extra_tests/`                    extra application-level tests that are usually run after translation

``*/test/``                               many directories have a test subdirectory
                                          containing test
                                          modules (see :ref:`testing`)

``_cache/``                               holds cache files from various purposes
========================================  ============================================