hy/test.py

11 lines
137 B
Python
Raw Normal View History

2012-12-15 22:26:03 +01:00
from hy.lex.tokenize import tokenize
print tokenize("""
2012-12-15 23:07:11 +01:00
(+ 2 (+ 1 1) (- 1 1))
2012-12-15 22:26:03 +01:00
""")
2012-12-15 23:16:58 +01:00
print tokenize("""
(print "Hello, \\n World")
""")