]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Merge ast-branch to head
authorJeremy Hylton <jeremy@alum.mit.edu>
Thu, 20 Oct 2005 19:59:25 +0000 (19:59 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Thu, 20 Oct 2005 19:59:25 +0000 (19:59 +0000)
commit3e0055f8c65c407e74ce476b8e2b1fb889723514
tree169cce8c87033e15364b57de947073e6e9c34d59
parent2cb94aba122b86dcda87d437eb36a860d14393d5
Merge ast-branch to head

This change implements a new bytecode compiler, based on a
transformation of the parse tree to an abstract syntax defined in
Parser/Python.asdl.

The compiler implementation is not complete, but it is in stable
enough shape to run the entire test suite excepting two disabled
tests.
54 files changed:
Include/Python-ast.h [new file with mode: 0644]
Include/Python.h
Include/asdl.h [new file with mode: 0644]
Include/ast.h [new file with mode: 0644]
Include/code.h [new file with mode: 0644]
Include/compile.h
Include/pyport.h
Include/pythonrun.h
Include/symtable.h
Lib/cgitb.py
Lib/compiler/pyassem.py
Lib/pydoc.py
Lib/test/output/test_grammar
Lib/test/output/test_profile
Lib/test/test_code.py [new file with mode: 0644]
Lib/test/test_doctest.py
Lib/test/test_eof.py
Lib/test/test_generators.py
Lib/test/test_genexps.py
Lib/test/test_grammar.py
Lib/test/test_import.py
Lib/test/test_parser.py
Lib/test/test_repr.py
Lib/test/test_scope.py
Makefile.pre.in
Misc/ACKS
Modules/_hotshot.c
Modules/symtablemodule.c
Objects/codeobject.c [new file with mode: 0644]
Objects/frameobject.c
Objects/funcobject.c
Objects/typeobject.c
PCbuild/pythoncore.vcproj
Parser/.cvsignore
Parser/Python.asdl [new file with mode: 0644]
Parser/asdl.py [new file with mode: 0644]
Parser/asdl_c.py [new file with mode: 0755]
Parser/grammar.mak
Parser/parsetok.c
Parser/spark.py [new file with mode: 0644]
Python/Python-ast.c [new file with mode: 0644]
Python/asdl.c [new file with mode: 0644]
Python/ast.c [new file with mode: 0644]
Python/bltinmodule.c
Python/ceval.c
Python/compile.c
Python/future.c
Python/import.c
Python/marshal.c
Python/pythonrun.c
Python/symtable.c
Python/sysmodule.c
Python/traceback.c
Tools/compiler/dumppyc.py