The following operator character sequences are permitted and represent a cross between PDP-10 Macro SNOBOL4, SITBOL and Catspaw SPITBOL usage:
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 |
Char | Defn. |
\ | negation |
? | interrogation |
$ | indirect reference |
. | none |
! | none |
% | none |
* | unevaluated expression |
/ | none |
# | none |
+ | positive |
- | negative |
@ | cursor position assignment |
| | none |
& | keyword |