cpython/Tools/compiler
Jeremy Hylton 7cff7fe21f Many changes.
Reformatting -- long lines, "[ ]" -> "[]", a few indentation nits.

Replace calls to Node function (which constructed ast nodes) with
calls to actual constructors imported from ast module.

Optimize com_node (most frequently used method) for the common case --
the appropriate method is found in _dispatch.

Fix com_augassign to use class object's rather than node names
(rendered invalid by recent changes to ast)

Remove expensive tests for sequence-ness in com_stmt and
com_append_stmt. These tests should never fail; if they do, something
is really broken and exception will be raised elsewhere.

Fix com_stmt and com_append_stmt to use isinstance rather than
testing's type slot of ast node (this slot disappeared with recent
changes to ast).
2000-10-25 18:10:32 +00:00
..
compiler Many changes. 2000-10-25 18:10:32 +00:00
ast.txt Support for generation of ast.py from simple description of node 2000-10-25 17:59:17 +00:00
astgen.py Support for generation of ast.py from simple description of node 2000-10-25 17:59:17 +00:00
compile.py add -d option that dumps entire AST before compiling 2000-10-13 21:59:32 +00:00
demo.py This script demonstrates use of the visitor interface of the compiler 2000-07-25 16:43:23 +00:00
dumppyc.py read in a .pyc file and disassemble the code objects 2000-10-09 14:35:24 +00:00
regrtest.py run the std regression test suite using bytecode produced by the compiler 2000-10-13 22:00:13 +00:00
setup.py distutils setup script 2000-09-20 02:35:19 +00:00