AST¶
Legacy Wiki Page
This page was migrated from the old MoinMoin-based wiki. Information may be outdated or no longer applicable. For current documentation, see python.org.
AST is an Abstract Syntax Tree, which is built from Python source to analyze the latter without executing.
AST can be used to:
build dot graph - http://bugs.python.org/issue10399
See the talk What would you do with an AST by Matthew J Desmarais for more examples.