From 86b689f3d7111a9fa13da389a30f3dfdf877d1a4 Mon Sep 17 00:00:00 2001 From: Joel Martin Date: Sat, 19 Apr 2014 13:04:09 -0500 Subject: All: *ARGV* and *host-language*. Misc syncing/fixes. --- python/step1_read_print.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'python/step1_read_print.py') diff --git a/python/step1_read_print.py b/python/step1_read_print.py index 7c5b7d8..3c2e4ac 100644 --- a/python/step1_read_print.py +++ b/python/step1_read_print.py @@ -9,7 +9,7 @@ def READ(str): # eval def EVAL(ast, env): - #print("EVAL %s" % ast) + #print("EVAL %s" % printer._pr_str(ast)) return ast def PRINT(exp): @@ -19,6 +19,7 @@ def PRINT(exp): def REP(str): return PRINT(EVAL(READ(str), {})) +# repl loop while True: try: line = mal_readline.readline("user> ") -- cgit v1.2.3