11 lines
201 B
Python
Executable File
11 lines
201 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
from hy.compiler import hy_compile
|
|
from hy.lex import tokenize
|
|
import codegen
|
|
import sys
|
|
|
|
|
|
ast = hy_compile(tokenize(open(sys.argv[1], 'r').read()))
|
|
print codegen.to_source(ast)
|