feat: modulo operator
This commit is contained in:
parent
25ea02d5e6
commit
06a2bc13d8
1 changed files with 1 additions and 0 deletions
1
mute-interpreter/src/env/core.rs
vendored
1
mute-interpreter/src/env/core.rs
vendored
|
@ -65,6 +65,7 @@ pub(super) fn core() -> HashMap<String, Value> {
|
|||
("-", arithmetic!(-)),
|
||||
("*", arithmetic!(*)),
|
||||
("/", arithmetic!(/)),
|
||||
("mod", arithmetic!(%)),
|
||||
// Ordering
|
||||
("<", ordering!(<)),
|
||||
(">", ordering!(>)),
|
||||
|
|
Loading…
Reference in a new issue