# SNOBOL4OP(1) | CSNOBOL4B 2.0 | January 1, 2015

## NAME

snobol4op – SNOBOL4 operators

## DESCRIPTION

All SNOBOL4 operators can be redefined with OPSYN(). These are the default assignments.

### Binary Operators

List of Binary Operators, in decreasing order of precedence. When operators of equal precedence are adjacent, associativity determines order of evaluation.

SPITBOL and BLOCKS extensions control operator definitions are orthogonal and can be controlled separately.

Char | Defn. | Assoc. | Enabled
= | assignment | RIGHT | w/ SPITBOL
? | pattern match | LEFT | w/ SPITBOL
& | definable | LEFT
| | alternation | LEFT
# | normal concat | LEFT | w/ BLOCKS
% | vertical concat | LEFT | w/ BLOCKS
sp | concatenation | LEFT
@ | definable | LEFT
-+ | subtract, add | LEFT
# | definable | LEFT | w/o BLOCKS
* | multiplication | LEFT
% | definable | LEFT | w/o BLOCKS
? | definable | LEFT | w/o SPITBOL
/ | division | LEFT
^ | exponentiation | RIGHT
$. | match naming | LEFT
~ | definable | RIGHT

## SEE ALSO

snobol4(1)