From 90654396b9782513c1c584807e7c0708601ac195 Mon Sep 17 00:00:00 2001 From: Pekka Laiho Date: Thu, 4 Jun 2020 16:46:23 +0700 Subject: [PATCH] new env for user definitions --- repl.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/repl.php b/repl.php index 113030d..4a16b6c 100644 --- a/repl.php +++ b/repl.php @@ -1,13 +1,16 @@ '); try { - $lisp->rep($input, $env); + $lisp->rep($input, $userEnv); } catch (MadLisp\MadLispException $ex) { print('error: ' . $ex->getMessage()); } catch (TypeError $ex) {