[Cython] Best way to display parse tree

Hoyt Koepke hoytak at cs.ubc.ca
Fri Mar 6 08:09:26 CET 2009


Hello,

I'm trying to get into cython development, and I'm having difficulty
understanding the internals of the parse tree and how it works.  Being
able to print or display the parse tree would really help in this
effort, as it's really tedious to work through the code trying to
figure this stuff out.  What is the best way to see the parse tree of
a given pyx file / function / code block?  Is there an easy way to do
it that I don't know about?

Thanks!
--Hoyt

++++++++++++++++++++++++++++++++++++++++++++++++
+ Hoyt Koepke
+ University of Washington Department of Statistics
+ http://www.stat.washington.edu/~hoytak/
+ hoytak at gmail.com
++++++++++++++++++++++++++++++++++++++++++


More information about the Cython-dev mailing list