By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,199 Members | 1,064 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,199 IT Pros & Developers. It's quick & easy.

how to use new AST goodies

P: n/a
Hello,

i've just found out that the ast-branch has been merged into the main
python cvs.
** Woohoo ! **
I'd like to experiment with this, does anyone know where to start ?
It seems that the parser module still produces the same junk as before.
So where do we find these nice high level AST objects ?

thanks,

Simon.

Oct 25 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Simon Burton wrote:
I'd like to experiment with this, does anyone know where to start ?
with the "once there is" parts, probably (see below).
It seems that the parser module still produces the same junk as before.
So where do we find these nice high level AST objects ?


here's a nice summary:

http://www.amk.ca/diary/2005/10/the_ast_branch_lands_1

which ends with:

"The primary benefit is that it should now be easier to write optimization
passes and tools such as PyChecker or refactoring browsers, particularly
once there's a Python interface to the AST and once everything is
documented."

</F>

Oct 25 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.