blob: 291ce183235a159fca7bf871446ed5203423b53e [file] [log] [blame]
Andrew M. Kuchling564165e2001-08-08 19:10:11 +00001This directory contains modules for a a Python source to bytecode compiler
2written in pure Python. To install the compiler modules so they're
3available for use by third-party Python software, run 'python setup.py
4install'.
5
6compile.py Demo that compiles a Python module into a .pyc file
7 using the pure-Python compiler code.
8
9demo.py Prints the names of all the methods defined in a module,
10 as a demonstration of walking through the abstract syntax
11 tree produced by the parser.
12
13dumppyc.py Dumps the contents of a .pyc file, printing
14 the attributes of the code object followed by a
15 code disassembly.
16
17regrtest.py Runs the Python test suite using bytecode generated
18 by the pure-Python compiler code instead of the
19 builtin compiler.
20
21setup.py Setup file for installing the compiler code as a package.