Leopold Toetsch slrn at
Sat Aug 14 09:57:26 CEST 2004

Christopher T King <squirrel at WPI.EDU> wrote:

> (Unfortunately, AST trees don't match up exactly with Python grammar, so
> I'm having to learn the format by trial-and-error.  Not much fun.  Is
> there documentation on the AST forms anywhere?)

Not really much at least in the python docs.

You might have a look at in languages/python inside the
parrot[1] CVS tree. Its a Python AST visitor that spits out a textual
representation of the AST. It's not totally finished and is for 2.3.
I didn't look at 2.4 yet.


[1], there is a CVS interface too.
Leopold Toetsch <lt at>
You're in a small chamber lit by an eerie green light.  An extremely
narrow tunnel exits to the west.  A dark corridor leads ne.

More information about the Python-list mailing list