diff --git a/src/schala_lang/mod.rs b/src/schala_lang/mod.rs index 1b29e33..5ebadcc 100644 --- a/src/schala_lang/mod.rs +++ b/src/schala_lang/mod.rs @@ -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);