Kill comments

This commit is contained in:
greg 2018-03-02 23:27:17 -08:00
parent 8d79074ea9
commit a92a2e4454
1 changed files with 0 additions and 21 deletions

View File

@ -9,7 +9,6 @@ mod builtin;
mod tokenizing;
mod parsing;
//mod type_check;
mod typechecking;
mod eval;
@ -95,26 +94,6 @@ impl ProgrammingLanguageInterface for Schala {
}
}
/*
self.type_context.add_symbols(&ast);
if options.debug_symbol_table {
let text = self.type_context.debug_symbol_table();
output.add_artifact(TraceArtifact::new("symbol_table", text));
}
match self.type_context.type_check(&ast) {
Ok(ty) => {
output.add_artifact(TraceArtifact::new("type_check", format!("type: {:?}", ty)));
},
Err(msg) => {
output.add_artifact(TraceArtifact::new("type_check", msg));
output.add_output(format!("Type error"));
return output;
}
}
*/
let evaluation_outputs = self.state.evaluate(ast);
let text_output: String = evaluation_outputs.into_iter().intersperse(format!("\n")).collect();
output.add_output(text_output);