in progress commit

- fixed errors in func and vars blocking testing
- use box references in call and eval
Still need to fix the tests themselves....
This commit is contained in:
Aidan 2021-03-07 19:24:38 -08:00
parent d2f60314f9
commit 76b12a8214
No known key found for this signature in database
GPG key ID: 327711E983899316
5 changed files with 44 additions and 63 deletions

View file

@ -25,9 +25,9 @@ use crate::vars::VTable;
* representing the simplest possible form of the input
*/
pub fn eval(
_ast: Box<Cell>,
_vars: Box<VTable>,
_funcs: Box<FTable>,
_ast: &Box<Cell>,
_vars: &Box<VTable>,
_funcs: &Box<FTable>,
_sym_loose: bool
) -> Result<Box<Cell>, String> {
Err("Unimplemented".to_string())