Start killing old code in language

This commit is contained in:
greg 2018-03-24 19:02:16 -07:00
parent e9c538da49
commit 1129d97603

View File

@ -149,15 +149,11 @@ impl TraceArtifact {
pub trait ProgrammingLanguageInterface { pub trait ProgrammingLanguageInterface {
/* old */ /* 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 } 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 */ /* old */
fn execute(&mut self, input: &str, eval_options: &EvalOptions) -> FinishedComputation { fn execute(&mut self, input: &str, eval_options: &EvalOptions) -> FinishedComputation {
FinishedComputation { artifacts: HashMap::new(), text_output: Err(format!("REPL evaluation not implemented")) } FinishedComputation { artifacts: HashMap::new(), text_output: Err(format!("REPL evaluation not implemented")) }
} }