hy/bin/py2ast

8 lines
105 B
Plaintext
Raw Normal View History

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