summaryrefslogtreecommitdiffstats
path: root/Parser/Python.asdl
Commit message (Collapse)AuthorAgeFilesLines
...
* Improved handling of syntax errors.Jeremy Hylton2006-01-271-0/+1
| | | | | | | | | | | | | | | | | Expand set of errors caught in set_context(). Some new errors, some old error messages changed for consistency. Fixed error checking in generator expression code. The first set of tests were impossible condition given the grammar. In general, the ast code uses REQ() for those sanity checks. Fix some error handling for augmented assignments. As comments in the code explain, set_context() ought to work here, but I got unexpected crashes when I tried it. Should come back to this. Add note to Grammar that yield expression is a special case. Add doctest cases for SyntaxErrors raised by ast.c.
* Thou shalt not lie, there are really 5 types nowNeal Norwitz2005-11-151-1/+1
|
* Merge ast-branch to headJeremy Hylton2005-10-201-0/+107
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.