Skip to content

Commit

Permalink
Escape | and + in table cells
Browse files Browse the repository at this point in the history
  • Loading branch information
softmoth committed Dec 13, 2017
1 parent 931506d commit d1c4c64
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions doc/Language/operators.pod6
Original file line number Diff line number Diff line change
Expand Up @@ -19,28 +19,28 @@ tightest to loosest:
A | Level | Examples
==+==================+==========
N | Terms | 42 3.14 "eek" qq["foo"] $x :!verbose @$array
L | Method postfix | .meth .+ .? .* .() .[] .{} .<> .«» .:: .= .^ .:
N | Autoincrement | ++ --
L | Method postfix | .meth .\+ .? .* .() .[] .{} .<> .«» .:: .= .^ .:
N | Autoincrement | \+\+ --
R | Exponentiation | **
L | Symbolic unary | ! + - ~ ? | || +^ ~^ ?^ ^
L | Symbolic unary | ! \+ - ~ ? \| \|\| \+^ ~^ ?^ ^
L | Dotty infix | .= .
L | Multiplicative | * / % %% +& +< +> ~& ~< ~> ?& div mod gcd lcm
L | Additive | + - +| +^ ~| ~^ ?| ?^
L | Multiplicative | * / % %% \+& \+< \+> ~& ~< ~> ?& div mod gcd lcm
L | Additive | \+ - \+\| \+^ ~\| ~^ ?\| ?^
L | Replication | x xx
X | Concatenation | ~
X | Junctive and | &
X | Junctive or | | ^
X | Junctive or | \| ^
L | Named unary | temp let
N | Structural infix | but does <=> leg cmp .. ..^ ^.. ^..^
C | Chaining infix | != == < <= > >= eq ne lt le gt ge ~~ === eqv !eqv =~=
X | Tight and | &&
X | Tight or | || ^^ // min max
X | Tight or | \|\| ^^ // min max
R | Conditional | ?? !! ff fff
R | Item assignment | = => += -= **= xx=
R | Item assignment | = => \+= -= **= xx=
L | Loose unary | so not
X | Comma operator | , :
X | List infix | Z minmax X X~ X* Xeqv ...
R | List prefix | print push say die map substr ... [+] [*] any Z=
R | List prefix | print push say die map substr ... [\+] [*] any Z=
X | Loose and | and andthen notandthen
X | Loose or | or xor orelse
X | Sequencer | <==, ==>, <<==, ==>>
Expand Down Expand Up @@ -90,11 +90,11 @@ Operators can occur in several positions relative to a term:
=begin table
+term | prefix
term1 + term2 | infix
term++ | postfix
(term) | circumfix
term1[term2] | postcircumfix
\+term | prefix
term1 \+ term2 | infix
term\+\+ | postfix
(term) | circumfix
term1[term2] | postcircumfix
=end table
Expand Down

0 comments on commit d1c4c64

Please sign in to comment.