[Python-Dev] a Python interface for the AST (WAS: DRAFT: python-dev...)

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Nov 24 04:47:02 CET 2005


Brett Cannon wrote:

> There are two problems to this topic; how to
> get the AST structs into Python objects and how to allow Python code
> to modify the AST before bytecode emission

I'm astounded to hear that the AST isn't made from
Python objects in the first place. Is there a particular
reason it wasn't done that way?

-- 
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg.ewing at canterbury.ac.nz	   +--------------------------------------+


More information about the Python-Dev mailing list