aboutsummaryrefslogtreecommitdiff
path: root/python/step4_if_fn_do.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/step4_if_fn_do.py')
-rw-r--r--python/step4_if_fn_do.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/step4_if_fn_do.py b/python/step4_if_fn_do.py
index a06d10b..e99cfcf 100644
--- a/python/step4_if_fn_do.py
+++ b/python/step4_if_fn_do.py
@@ -27,7 +27,7 @@ def eval_ast(ast, env):
return ast # primitive value, return unchanged
def EVAL(ast, env):
- #print("EVAL %s" % ast)
+ #print("EVAL %s" % printer._pr_str(ast))
if not types._list_Q(ast):
return eval_ast(ast, env)
@@ -79,6 +79,7 @@ for k, v in core.ns.items(): repl_env.set(k, v)
# core.mal: defined using the language itself
REP("(def! not (fn* (a) (if a false true)))")
+# repl loop
while True:
try:
line = mal_readline.readline("user> ")