From 1129d9760347ab9192648df90e42655889114abe Mon Sep 17 00:00:00 2001 From: greg Date: Sat, 24 Mar 2018 19:02:16 -0700 Subject: [PATCH] Start killing old code in language --- schala-repl/src/language.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/schala-repl/src/language.rs b/schala-repl/src/language.rs index 5dd378c..abd1469 100644 --- a/schala-repl/src/language.rs +++ b/schala-repl/src/language.rs @@ -149,15 +149,11 @@ impl TraceArtifact { pub trait ProgrammingLanguageInterface { /* old */ - fn evaluate_in_repl(&mut self, input: &str, eval_options: &EvalOptions) -> LanguageOutput { + fn evaluate_in_repl(&mut self, _: &str, _: &EvalOptions) -> LanguageOutput { LanguageOutput { output: format!("Defunct"), artifacts: vec![], failed: false } } - fn evaluate_noninteractive(&mut self, input: &str, eval_options: &EvalOptions) -> LanguageOutput { - self.evaluate_in_repl(input, eval_options) - } /* old */ - fn execute(&mut self, input: &str, eval_options: &EvalOptions) -> FinishedComputation { FinishedComputation { artifacts: HashMap::new(), text_output: Err(format!("REPL evaluation not implemented")) } }