Add parsing of more logical combinators
Signed-off-by: Marcel Müller <neikos@neikos.email>
This commit is contained in:
parent
d222573a3a
commit
437584c844
3 changed files with 54 additions and 6 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue