hy/test.py
2012-12-16 16:52:52 -05:00

11 lines
191 B
Python

from hy.compiler.modfaker import forge_module
from hy.lex.tokenize import tokenize
m = forge_module(
'test',
'test.hy',
tokenize('(def two (fn [x] (print x)))(two "Hello")')
)