GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SNOBOL4OP(1) CSNOBOL4 Manual SNOBOL4OP(1)

snobol4op - SNOBOL4 operators

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

The following operator character sequences are permitted and represent a cross between PDP-10 Macro SNOBOL4, SITBOL and Catspaw SPITBOL usage:

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

Char	Defn.
\	negation
?	interrogation
$	indirect reference
.	none
!	none
%	none
*	unevaluated expression
/	none
#	none
+	positive
-	negative
@	cursor position assignment
|	none
&	keyword

snobol4(1)
March 31, 2022 CSNOBOL4B 2.3.1

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.