From ea24ae1bb565f04585d33fb9c39aee495453ba7f Mon Sep 17 00:00:00 2001 From: greg Date: Fri, 29 Dec 2017 04:46:19 -0800 Subject: [PATCH] Get rid of some printlns --- src/rukka_lang/mod.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/rukka_lang/mod.rs b/src/rukka_lang/mod.rs index d95a6ac..87b2ce8 100644 --- a/src/rukka_lang/mod.rs +++ b/src/rukka_lang/mod.rs @@ -33,7 +33,6 @@ impl EvaluatorState { binding.insert(var, value); } fn get_var(&self, var: &str) -> Option<&Sexp> { - println!("Var: {}", var); for bindings in self.binding_stack.iter().rev() { match bindings.get(var) { Some(x) => return Some(x), @@ -92,7 +91,6 @@ impl ProgrammingLanguageInterface for Rukka { impl EvaluatorState { fn eval(&mut self, expr: Sexp) -> Result { use self::Sexp::*; - println!("Evaling {:?}", expr); Ok(match expr { SymbolAtom(ref sym) => { if let Some(op) = get_builtin(sym) { @@ -226,7 +224,6 @@ impl EvaluatorState { _ => return Err(format!("Bad argument for function application")), } } - println!("Body: {:?}", body); let result = self.eval(*body); self.pop_env(); result