Added user function parsing

This commit is contained in:
2023-08-04 21:33:42 -07:00
parent b40af1af53
commit eadd6780ce
9 changed files with 79 additions and 55 deletions

View File

@ -13,6 +13,8 @@ pub fn eval_operator(g: &Expression, _context: &mut Context) -> Result<Option<Ex
match op {
Operator::Function(_) => unreachable!("Functions are handled seperately."),
Operator::UserFunction(_) => unimplemented!(),
Operator::Tuple => {
if args.len() != 2 { panic!() };
let a = &args[0];