Python compiler with error recovery for syntactically wrong programs

Is there any compiler for Python language that can give back the abstract syntax tree on cases where there are syntax errors.

As mentioned at http://shape-of-code.coding-guidelines.com/2010/04/19/brief-history-of-syntax-error-recovery/ the python source code does plan to include error recovery but as of date it does not have.

I wish to see all the errors if possible in my python code at a time. Is there any python compiler with error-recovery?


Source: syntax

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.