From 601f53f6b1f9a6c775dd317f5045af552bea6834 Mon Sep 17 00:00:00 2001 From: Lee Spector Date: Sun, 7 Jun 2020 16:43:34 -0400 Subject: [PATCH] Use resolve and var-get instead of eval --- src/propeller/interpreter.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/propeller/interpreter.clj b/src/propeller/interpreter.clj index aa6c164..fb5d2d9 100644 --- a/src/propeller/interpreter.clj +++ b/src/propeller/interpreter.clj @@ -7,7 +7,7 @@ (let [popped-state (pop-stack state :exec) first-raw (first (:exec state)) first-instruction (if (symbol? first-raw) - (eval first-raw) + (var-get (resolve first-raw)) first-raw)] (cond (fn? first-instruction)