summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2001-08-08 19:10:11 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2001-08-08 19:10:11 (GMT)
commit564165e5c5f6b67b2c291173c542b17b0313d9b1 (patch)
tree55a268c329ecb93bcd7ed8ddd75d0598b05a88aa /Tools
parent03590c6bdc97114065e68afeafdfbd6e4e155630 (diff)
downloadcpython-564165e5c5f6b67b2c291173c542b17b0313d9b1.zip
cpython-564165e5c5f6b67b2c291173c542b17b0313d9b1.tar.gz
cpython-564165e5c5f6b67b2c291173c542b17b0313d9b1.tar.bz2
Added README to this directory
Diffstat (limited to 'Tools')
-rw-r--r--Tools/compiler/README21
1 files changed, 21 insertions, 0 deletions
diff --git a/Tools/compiler/README b/Tools/compiler/README
new file mode 100644
index 0000000..291ce18
--- /dev/null
+++ b/Tools/compiler/README
@@ -0,0 +1,21 @@
+This directory contains modules for a a Python source to bytecode compiler
+written in pure Python. To install the compiler modules so they're
+available for use by third-party Python software, run 'python setup.py
+install'.
+
+compile.py Demo that compiles a Python module into a .pyc file
+ using the pure-Python compiler code.
+
+demo.py Prints the names of all the methods defined in a module,
+ as a demonstration of walking through the abstract syntax
+ tree produced by the parser.
+
+dumppyc.py Dumps the contents of a .pyc file, printing
+ the attributes of the code object followed by a
+ code disassembly.
+
+regrtest.py Runs the Python test suite using bytecode generated
+ by the pure-Python compiler code instead of the
+ builtin compiler.
+
+setup.py Setup file for installing the compiler code as a package.