13 lines
183 B
Plaintext
13 lines
183 B
Plaintext
|
#!/usr/bin/env python
|
||
|
|
||
|
from hy.lex.tokenize import tokenize
|
||
|
import json
|
||
|
import sys
|
||
|
|
||
|
|
||
|
print json.dumps(
|
||
|
tokenize(open(sys.argv[1], 'r').read()),
|
||
|
indent=4,
|
||
|
sort_keys=True
|
||
|
)
|