summaryrefslogtreecommitdiff
path: root/Python/ast.c
Commit message (Collapse)AuthorAgeFilesLines
* Refactor code for translating "power" nodes.Neil Schemenauer2005-10-251-91/+95
|
* Write a separate ast_for_testlist_gexp() function instead of overloadingNeil Schemenauer2005-10-251-62/+77
| | | | | ast_for_testlist(). Also, write a ast_for_class_bases() function and in the process fix a memory leak. Add some assertions.
* Add an assert.Neil Schemenauer2005-10-231-0/+1
|
* ANSI-C-ify the placement of local var declarations.Armin Rigo2005-10-211-6/+8
|
* Oops, "=" is not a comparison operatorNeal Norwitz2005-10-211-1/+0
|
* Merge ast-branch to headJeremy Hylton2005-10-201-0/+3114
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.