Jeremy Hylton | 5953b40 | 2001-09-20 15:02:27 +0000 | [diff] [blame] | 1 | This directory contains support tools for the Python compiler package, |
| 2 | which is now part of the standard library. |
Andrew M. Kuchling | 564165e | 2001-08-08 19:10:11 +0000 | [diff] [blame] | 3 | |
| 4 | compile.py Demo that compiles a Python module into a .pyc file |
| 5 | using the pure-Python compiler code. |
| 6 | |
| 7 | demo.py Prints the names of all the methods defined in a module, |
| 8 | as a demonstration of walking through the abstract syntax |
| 9 | tree produced by the parser. |
| 10 | |
| 11 | dumppyc.py Dumps the contents of a .pyc file, printing |
| 12 | the attributes of the code object followed by a |
| 13 | code disassembly. |
| 14 | |
| 15 | regrtest.py Runs the Python test suite using bytecode generated |
| 16 | by the pure-Python compiler code instead of the |
| 17 | builtin compiler. |
| 18 | |