slrn at toetsch.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 ast2past.py in languages/python inside the
parrot 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.
 http://www.parrotcode.org, there is a CVS interface too.
Leopold Toetsch <lt at toetsch.at> http://www.toetsch.at/linux/
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