hy/bin/py2ast
2013-03-14 09:21:03 -04:00

8 lines
105 B
Python
Executable File

#!/usr/bin/env python
import sys
import ast
print(ast.dump(ast.parse(open(sys.argv[1], 'r').read())))