3 import mal_types
as types
8 return reader
.read_str(str)
12 #print("EVAL %s" % printer._pr_str(ast))
17 return printer
._pr
_str
(exp
)
21 return PRINT(EVAL(READ(str), {}))
26 line
= mal_readline
.readline("user> ")
27 if line
== None: break
28 if line
== "": continue
30 except reader
.Blank
: continue
31 except Exception as e
:
32 print("".join(traceback
.format_exception(*sys
.exc_info())))