@@ -19,28 +19,28 @@ tightest to loosest:
19
19
A | Level | Examples
20
20
==+==================+==========
21
21
N | Terms | 42 3.14 "eek" qq["foo"] $x :!verbose @$array
22
- L | Method postfix | .meth .+ .? .* .() .[] .{} .<> .«» .:: .= .^ .:
23
- N | Autoincrement | + + --
22
+ L | Method postfix | .meth .\ + .? .* .() .[] .{} .<> .«» .:: .= .^ .:
23
+ N | Autoincrement | \+\ + --
24
24
R | Exponentiation | **
25
- L | Symbolic unary | ! + - ~ ? | || +^ ~^ ?^ ^
25
+ L | Symbolic unary | ! \ + - ~ ? \| \|\| \ +^ ~^ ?^ ^
26
26
L | Dotty infix | .= .
27
- L | Multiplicative | * / % %% +& +< +> ~& ~< ~> ?& div mod gcd lcm
28
- L | Additive | + - +| +^ ~| ~^ ?| ?^
27
+ L | Multiplicative | * / % %% \ +& \ +< \ +> ~& ~< ~> ?& div mod gcd lcm
28
+ L | Additive | \ + - \+\| \ +^ ~\ | ~^ ?\ | ?^
29
29
L | Replication | x xx
30
30
X | Concatenation | ~
31
31
X | Junctive and | &
32
- X | Junctive or | | ^
32
+ X | Junctive or | \ | ^
33
33
L | Named unary | temp let
34
34
N | Structural infix | but does <=> leg cmp .. ..^ ^.. ^..^
35
35
C | Chaining infix | != == < <= > >= eq ne lt le gt ge ~~ === eqv !eqv =~=
36
36
X | Tight and | &&
37
- X | Tight or | | | ^^ // min max
37
+ X | Tight or | \|\ | ^^ // min max
38
38
R | Conditional | ?? !! ff fff
39
- R | Item assignment | = => += -= **= xx=
39
+ R | Item assignment | = => \ += -= **= xx=
40
40
L | Loose unary | so not
41
41
X | Comma operator | , :
42
42
X | List infix | Z minmax X X~ X* Xeqv ...
43
- R | List prefix | print push say die map substr ... [+] [*] any Z=
43
+ R | List prefix | print push say die map substr ... [\ +] [*] any Z=
44
44
X | Loose and | and andthen notandthen
45
45
X | Loose or | or xor orelse
46
46
X | Sequencer | <==, ==>, <<==, ==>>
@@ -90,11 +90,11 @@ Operators can occur in several positions relative to a term:
90
90
91
91
= begin table
92
92
93
- +term | prefix
94
- term1 + term2 | infix
95
- term++ | postfix
96
- (term) | circumfix
97
- term1[term2] | postcircumfix
93
+ \ +term | prefix
94
+ term1 \ + term2 | infix
95
+ term\+\+ | postfix
96
+ (term) | circumfix
97
+ term1[term2] | postcircumfix
98
98
99
99
= end table
100
100
0 commit comments