[pypy-dev] Printing a Flowgraph
Brian C. Lum
bclum at cs.ucsd.edu
Mon Apr 10 02:58:45 CEST 2006
Dear Pypy developers:
I was reading how you generate a flowgraph with Pypy from the
getting-started page. I was just wondering if anyone knew how to print
that graph once it displays.
I don't really have much experience with Graphviz. Is there a way to save
the graphviz file or print it to a .ps?
http://codespeak.net/pypy/dist/pypy/doc/getting-started.html#trying-out-the-translator
Thanks!
Brian
Just an FYI, if you want to try to follow the directions, they're a little
bit outdated. To run it (after installing Pygame), start the interactive
translator:
cd pypy/bin
python translator.py
and to view a sample code:
>>> t = Translation(test.is_perfect_number)
>>> t.view()
More information about the Pypy-dev
mailing list