2012-12-16 20:57:39 +01:00
|
|
|
from hy.compiler.modfaker import forge_module
|
|
|
|
from hy.lex.tokenize import tokenize
|
|
|
|
|
|
|
|
|
|
|
|
m = forge_module(
|
|
|
|
'test',
|
|
|
|
'test.hy',
|
2012-12-16 22:52:52 +01:00
|
|
|
tokenize('(def two (fn [x] (print x)))(two "Hello")')
|
2012-12-16 20:57:39 +01:00
|
|
|
)
|
|
|
|
|