diff --git a/src/main.rs b/src/main.rs index 95bc12c..5188a66 100644 --- a/src/main.rs +++ b/src/main.rs @@ -94,7 +94,7 @@ pub fn prelude<'src>() -> Process<'src> { locals: vec![], ast: p_ast, prelude: base_pkg, - // prelude_ast: &Ast::Nil, + args: Value::Nil, }; let prelude = base_ctx.eval(); @@ -122,7 +122,7 @@ pub fn prelude<'src>() -> Process<'src> { locals: vec![], ast: &Ast::Nil, prelude: p_ctx, - // prelude_ast: p_ast, + args: Value::Nil, } } diff --git a/src/process.rs b/src/process.rs index f0f8259..3411e11 100644 --- a/src/process.rs +++ b/src/process.rs @@ -31,8 +31,8 @@ type LResult<'src> = Result, LErr>; pub struct Process<'src> { pub locals: Vec<(String, Value<'src>)>, pub prelude: Vec<(String, Value<'src>)>, - // pub prelude_ast: &'src Ast, pub ast: &'src Ast, + pub args: Value<'src>, } impl<'src> Process<'src> {