Comment out the old evaluator and reduced_ast
This commit is contained in:
parent
7c5a08664a
commit
5b4bb6606e
@ -23,8 +23,8 @@ mod tokenizing;
|
||||
mod symbol_table;
|
||||
mod builtin;
|
||||
mod error;
|
||||
mod eval;
|
||||
mod reduced_ast;
|
||||
//mod eval;
|
||||
//mod reduced_ast;
|
||||
mod reduced_ir;
|
||||
mod tree_walk_eval;
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
use stopwatch::Stopwatch;
|
||||
|
||||
use crate::error::SchalaError;
|
||||
use crate::{eval, parsing, reduced_ir, tree_walk_eval, symbol_table, tokenizing, typechecking};
|
||||
use crate::{/*eval, */parsing, reduced_ir, tree_walk_eval, symbol_table, tokenizing, typechecking};
|
||||
use schala_repl::{
|
||||
ComputationRequest, ComputationResponse, GlobalOutputStats, LangMetaRequest, LangMetaResponse,
|
||||
ProgrammingLanguageInterface,
|
||||
@ -11,8 +11,8 @@ use schala_repl::{
|
||||
pub struct Schala<'a> {
|
||||
/// Holds a reference to the original source code, parsed into line and character
|
||||
source_reference: SourceReference,
|
||||
/// Execution state for AST-walking interpreter
|
||||
state: eval::State<'static>,
|
||||
|
||||
//state: eval::State<'static>,
|
||||
/// Keeps track of symbols and scopes
|
||||
symbol_table: symbol_table::SymbolTable,
|
||||
/// Contains information for type-checking
|
||||
@ -20,6 +20,7 @@ pub struct Schala<'a> {
|
||||
/// Schala Parser
|
||||
active_parser: parsing::Parser,
|
||||
|
||||
/// Execution state for AST-walking interpreter
|
||||
eval_state: tree_walk_eval::State<'a>,
|
||||
|
||||
}
|
||||
@ -43,7 +44,7 @@ impl<'a> Schala<'a> {
|
||||
Schala {
|
||||
source_reference: SourceReference::new(),
|
||||
symbol_table: symbol_table::SymbolTable::new(),
|
||||
state: eval::State::new(),
|
||||
//state: eval::State::new(),
|
||||
type_context: typechecking::TypeContext::new(),
|
||||
active_parser: parsing::Parser::new(),
|
||||
eval_state: tree_walk_eval::State::new(),
|
||||
|
Loading…
Reference in New Issue
Block a user