$ cd languages/python $ cat hello.py print "Hello AST" $ ./ast2past hello.py > hello.past $ cat hello.past
# generated by pie-rate on Sun Aug 1 17:59:03 2004
Src_File("f.py") Py_Module( Stmts( Py_Print( Const('Hello PAST') ) # Py_Print Py_Print_nl() ) # Stmts ) # Py_Module # end
$ ../../parrot hello.past Hello PAST
Have fun, leo