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