Add parsing of more logical combinators

Signed-off-by: Marcel Müller <neikos@neikos.email>
This commit is contained in:
Marcel Müller 2026-03-12 17:36:36 +01:00
parent d222573a3a
commit 437584c844
3 changed files with 54 additions and 6 deletions

View file

@ -203,6 +203,7 @@ pub fn execute(vm: &VMInstructions, global_context: &Context) -> Result<String,
crate::parser::TokenOperator::Divide => left_value.try_div(right_value),
crate::parser::TokenOperator::And => left_value.try_and(right_value),
crate::parser::TokenOperator::Or => left_value.try_or(right_value),
_ => todo!(),
};
scopes.insert_into_slot(*result_slot, result.unwrap());