update readme
This commit is contained in:
parent
d4ff08ba3f
commit
9776b7133e
@ -15,6 +15,8 @@ Hylarious Hacks
|
||||
|
||||
[Python sh fun](https://twitter.com/paultag/status/314925996442796032)
|
||||
|
||||
[Hy IRC bot](https://github.com/hylang/hygdrop)
|
||||
|
||||
|
||||
OK, so, why?
|
||||
------------
|
||||
|
@ -4,7 +4,7 @@ from __future__ import print_function
|
||||
from hy.importer import (import_file_to_ast, import_file_to_module,
|
||||
import_file_to_hst)
|
||||
|
||||
#import astor.codegen
|
||||
import astor.codegen
|
||||
import sys
|
||||
import ast
|
||||
|
||||
@ -19,6 +19,6 @@ print("")
|
||||
print(ast.dump(_ast))
|
||||
print("")
|
||||
print("")
|
||||
#print(astor.codegen.to_source(_ast))
|
||||
print(astor.codegen.to_source(_ast))
|
||||
|
||||
import_file_to_module("<STDIN>", sys.argv[1])
|
||||
|
Loading…
Reference in New Issue
Block a user