hy/test.py
2012-12-16 14:57:39 -05:00

12 lines
179 B
Python

from hy.compiler.modfaker import forge_module
from hy.lex.tokenize import tokenize
m = forge_module(
'test',
'test.hy',
tokenize('(def two (+ 1 1))')
)
print m.two