fa/doc/md/OPERATORS.md
Ari Archer 3828bd59d7
Gre/lse operators
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
2022-07-22 18:00:33 +03:00

17 lines
576 B
Markdown

# Fa operators
- `add` -- Adds top two items on the stack (`+`)
- `sub` -- From the topmost element subtracts second topmost (`-`)
- `mul` -- Multiplies top two items on the stack (`*`)
- `bor` -- Binary or (`|`)
- `ban` -- Binary and (`&`)
- `xor` -- Exclussive or (`^`)
- `shr` -- Shift right (`>>`)
- `shl` -- Shift left (`<<`)
- `grt` -- Greater than (`>`)
- `lst` -- Less than (`<`)
- `bot` -- Binary not (`~`)
- `eql` -- Equals (`==`)
- `dvm` -- Divmod (`/%`)
- `gre` -- Greater than or euqals (`>=`)
- `lse` -- Less than or euqals (`<=`)