Skip to content

Commit f4426c4

Browse files
committed
Try to make build OK
1 parent 64121a9 commit f4426c4

File tree

4 files changed

+142
-142
lines changed

4 files changed

+142
-142
lines changed

doc/Language/operators.pod6

Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -16,35 +16,35 @@ tightest to loosest:
1616
1717
=begin table
1818
19-
A Level Examples
20-
= ===== ========
21-
N Terms 42 3.14 "eek" qq["foo"] $x :!verbose @$array
22-
L Method postfix .meth .+ .? .* .() .[] .{} .<> .«» .:: .= .^ .:
23-
N Autoincrement ++ --
24-
R Exponentiation **
25-
L Symbolic unary ! + - ~ ? | || +^ ~^ ?^ ^
26-
L Dotty infix .= .
27-
L Multiplicative * / % %% +& +< +> ~& ~< ~> ?& div mod gcd lcm
28-
L Additive + - +| +^ ~| ~^ ?| ?^
29-
L Replication x xx
30-
X Concatenation ~
31-
X Junctive and &
32-
X Junctive or | ^
33-
L Named unary temp let
34-
N Structural infix but does <=> leg cmp .. ..^ ^.. ^..^
35-
C Chaining infix != == < <= > >= eq ne lt le gt ge ~~ === eqv !eqv =~=
36-
X Tight and &&
37-
X Tight or || ^^ // min max
38-
R Conditional ?? !! ff fff
39-
R Item assignment = => += -= **= xx=
40-
L Loose unary so not
41-
X Comma operator , :
42-
X List infix Z minmax X X~ X* Xeqv ...
43-
R List prefix print push say die map substr ... [+] [*] any Z=
44-
X Loose and and andthen notandthen
45-
X Loose or or xor orelse
46-
X Sequencer <==, ==>, <<==, ==>>
47-
N Terminator ; {...}, unless, extra ), ], }
19+
A | Level | Examples
20+
==+==================+==========
21+
N | Terms | 42 3.14 "eek" qq["foo"] $x :!verbose @$array
22+
L | Method postfix | .meth .+ .? .* .() .[] .{} .<> .«» .:: .= .^ .:
23+
N | Autoincrement | ++ --
24+
R | Exponentiation | **
25+
L | Symbolic unary | ! + - ~ ? | || +^ ~^ ?^ ^
26+
L | Dotty infix | .= .
27+
L | Multiplicative | * / % %% +& +< +> ~& ~< ~> ?& div mod gcd lcm
28+
L | Additive | + - +| +^ ~| ~^ ?| ?^
29+
L | Replication | x xx
30+
X | Concatenation | ~
31+
X | Junctive and | &
32+
X | Junctive or | | ^
33+
L | Named unary | temp let
34+
N | Structural infix | but does <=> leg cmp .. ..^ ^.. ^..^
35+
C | Chaining infix | != == < <= > >= eq ne lt le gt ge ~~ === eqv !eqv =~=
36+
X | Tight and | &&
37+
X | Tight or | || ^^ // min max
38+
R | Conditional | ?? !! ff fff
39+
R | Item assignment | = => += -= **= xx=
40+
L | Loose unary | so not
41+
X | Comma operator | , :
42+
X | List infix | Z minmax X X~ X* Xeqv ...
43+
R | List prefix | print push say die map substr ... [+] [*] any Z=
44+
X | Loose and | and andthen notandthen
45+
X | Loose or | or xor orelse
46+
X | Sequencer | <==, ==>, <<==, ==>>
47+
N | Terminator | ; {...}, unless, extra ), ], }
4848
4949
=end table
5050
@@ -54,25 +54,25 @@ for binary operators are interpreted as follows:
5454
5555
=begin table
5656
57-
A Assoc Meaning of $a ! $b ! $c
58-
= ===== =======================
59-
L left ($a ! $b) ! $c
60-
R right $a ! ($b ! $c)
61-
N non ILLEGAL
62-
C chain ($a ! $b) and ($b ! $c)
63-
X list infix:<!>($a; $b; $c)
57+
A | Assoc | Meaning of $a ! $b ! $c
58+
===+=========+========================
59+
L | left | ($a ! $b) ! $c
60+
R | right | $a ! ($b ! $c)
61+
N | non | ILLEGAL
62+
C | chain | ($a ! $b) and ($b ! $c)
63+
X | list | infix:<!>($a; $b; $c)
6464
6565
=end table
6666
6767
For unary operators this is interpreted as:
6868
6969
=begin table
7070
71-
A Assoc Meaning of !$a!
72-
= ===== =========================
73-
L left (!$a)!
74-
R right !($a!)
75-
N non ILLEGAL
71+
A | Assoc | Meaning of !$a!
72+
===+=========+==========================
73+
L | left | (!$a)!
74+
R | right | !($a!)
75+
N | non | ILLEGAL
7676
7777
=end table
7878
@@ -90,11 +90,11 @@ Operators can occur in several positions relative to a term:
9090
9191
=begin table
9292
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
9898
9999
=end table
100100

doc/Language/regexes.pod6

Lines changed: 49 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -237,48 +237,48 @@ L<perlunicode|http://perldoc.perl.org/perlunicode.html> documentation:
237237
238238
=begin table
239239
240-
Short Long
241-
===== =====
242-
L Letter
243-
LC Cased_Letter
244-
Lu Uppercase_Letter
245-
Ll Lowercase_Letter
246-
Lt Titlecase_Letter
247-
Lm Modifier_Letter
248-
Lo Other_Letter
249-
M Mark
250-
Mn Nonspacing_Mark
251-
Mc Spacing_Mark
252-
Me Enclosing_Mark
253-
N Number
254-
Nd Decimal_Number (also Digit)
255-
Nl Letter_Number
256-
No Other_Number
257-
P Punctuation (also punct)
258-
Pc Connector_Punctuation
259-
Pd Dash_Punctuation
260-
Ps Open_Punctuation
261-
Pe Close_Punctuation
262-
Pi Initial_Punctuation
263-
(may behave like Ps or Pe depending on usage)
264-
Pf Final_Punctuation
265-
(may behave like Ps or Pe depending on usage)
266-
Po Other_Punctuation
267-
S Symbol
268-
Sm Math_Symbol
269-
Sc Currency_Symbol
270-
Sk Modifier_Symbol
271-
So Other_Symbol
272-
Z Separator
273-
Zs Space_Separator
274-
Zl Line_Separator
275-
Zp Paragraph_Separator
276-
C Other
277-
Cc Control (also cntrl)
278-
Cf Format
279-
Cs Surrogate
280-
Co Private_Use
281-
Cn Unassigned
240+
Short | Long
241+
========+========
242+
L | Letter
243+
LC | Cased_Letter
244+
Lu | Uppercase_Letter
245+
Ll | Lowercase_Letter
246+
Lt | Titlecase_Letter
247+
Lm | Modifier_Letter
248+
Lo | Other_Letter
249+
M | Mark
250+
Mn | Nonspacing_Mark
251+
Mc | Spacing_Mark
252+
Me | Enclosing_Mark
253+
N | Number
254+
Nd | Decimal_Number (also Digit)
255+
Nl | Letter_Number
256+
No | Other_Number
257+
P | Punctuation (also punct)
258+
Pc | Connector_Punctuation
259+
Pd | Dash_Punctuation
260+
Ps | Open_Punctuation
261+
Pe | Close_Punctuation
262+
Pi | Initial_Punctuation
263+
| (may behave like Ps or Pe depending on usage)
264+
Pf | Final_Punctuation
265+
| (may behave like Ps or Pe depending on usage)
266+
Po | Other_Punctuation
267+
S | Symbol
268+
Sm | Math_Symbol
269+
Sc | Currency_Symbol
270+
Sk | Modifier_Symbol
271+
So | Other_Symbol
272+
Z | Separator
273+
Zs | Space_Separator
274+
Zl | Line_Separator
275+
Zp | Paragraph_Separator
276+
C | Other
277+
Cc | Control (also cntrl)
278+
Cf | Format
279+
Cs | Surrogate
280+
Co | Private_Use
281+
Cn | Unassigned
282282
283283
=end table
284284
@@ -291,13 +291,13 @@ Categories can be used together, with an infix operator:
291291
292292
=begin table
293293
294-
Operator Meaning
295-
======== =======
296-
 +  set union
297-
 |  set union
298-
 &  set intersection
299-
 -  set difference (first minus second)
300-
 ^  symmetric set intersection / XOR
294+
Operator | Meaning
295+
==========+=========
296+
 +  | set union
297+
 |  | set union
298+
 &  | set intersection
299+
 -  | set difference (first minus second)
300+
 ^  | symmetric set intersection / XOR
301301
302302
=end table
303303

doc/Type/Junction.pod6

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ C<none>.
1919
2020
=begin table
2121
22-
type constructor operator True if ...
23-
==== =========== ======== ===========
24-
all all & no value evaluates to False
25-
any any | at least one value evaluates to True
26-
one one ^ exactly one value evaluates to True
27-
none none no value evaluates to True
22+
type | constructor | operator | True if ...
23+
=====+================+============+===========
24+
all | all | & | no value evaluates to False
25+
any | any | | | at least one value evaluates to True
26+
one | one | ^ | exactly one value evaluates to True
27+
none | none | | no value evaluates to True
2828
2929
=end table
3030

doc/Type/Str.pod6

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -494,41 +494,41 @@ The directives are:
494494
495495
=begin table
496496
497-
% a literal percent sign
498-
c a character with the given codepoint
499-
s a string
500-
d a signed integer, in decimal
501-
u an unsigned integer, in decimal
502-
o an unsigned integer, in octal
503-
x an unsigned integer, in hexadecimal
504-
e a floating-point number, in scientific notation
505-
f a floating-point number, in fixed decimal notation
506-
g a floating-point number, in %e or %f notation
507-
X like x, but using uppercase letters
508-
E like e, but using an uppercase "E"
509-
G like g, but with an uppercase "E" (if applicable)
510-
b an unsigned integer, in binary
497+
% | a literal percent sign
498+
c | a character with the given codepoint
499+
s | a string
500+
d | a signed integer, in decimal
501+
u | an unsigned integer, in decimal
502+
o | an unsigned integer, in octal
503+
x | an unsigned integer, in hexadecimal
504+
e | a floating-point number, in scientific notation
505+
f | a floating-point number, in fixed decimal notation
506+
g | a floating-point number, in %e or %f notation
507+
X | like x, but using uppercase letters
508+
E | like e, but using an uppercase "E"
509+
G | like g, but with an uppercase "E" (if applicable)
510+
b | an unsigned integer, in binary
511511
512512
=end table
513513
514514
Compatibility:
515515
516516
=begin table
517517
518-
i a synonym for %d
519-
D a synonym for %ld
520-
U a synonym for %lu
521-
O a synonym for %lo
522-
F a synonym for %f
518+
i | a synonym for %d
519+
D | a synonym for %ld
520+
U | a synonym for %lu
521+
O | a synonym for %lo
522+
F | a synonym for %f
523523
524524
=end table
525525
526526
Perl 5 (non-)compatibility:
527527
528528
=begin table
529529
530-
n produces a runtime exception
531-
p produces a runtime exception
530+
n | produces a runtime exception
531+
p | produces a runtime exception
532532
533533
=end table
534534
@@ -537,11 +537,11 @@ no-ops (the semantics are still being determined).
537537
538538
=begin table
539539
540-
h interpret integer as native "short" (typically int16)
541-
NYI l interpret integer as native "long" (typically int32 or int64)
542-
NYI ll interpret integer as native "long long" (typically int64)
543-
NYI L interpret integer as native "long long" (typically uint64)
544-
NYI q interpret integer as native "quads" (typically int64 or larger)
540+
| h | interpret integer as native "short" (typically int16)
541+
NYI | l | interpret integer as native "long" (typically int32 or int64)
542+
NYI | ll | interpret integer as native "long long" (typically int64)
543+
NYI | L | interpret integer as native "long long" (typically uint64)
544+
NYI | q | interpret integer as native "quads" (typically int64 or larger)
545545
546546
=end table
547547
@@ -563,13 +563,13 @@ B<flags>
563563
One or more of:
564564
565565
=begin table
566-
space prefix non-negative number with a space
567-
+ prefix non-negative number with a plus sign
568-
- left-justify within the field
569-
0 use leading zeros, not spaces, for required padding
570-
# ensure the leading "0" for any octal,
571-
prefix non-zero hexadecimal with "0x" or "0X",
572-
prefix non-zero binary with "0b" or "0B"
566+
space | prefix non-negative number with a space
567+
+ | prefix non-negative number with a plus sign
568+
- | left-justify within the field
569+
0 | use leading zeros, not spaces, for required padding
570+
# | ensure the leading "0" for any octal,
571+
| prefix non-zero hexadecimal with "0x" or "0X",
572+
| prefix non-zero binary with "0b" or "0B"
573573
=end table
574574
575575
For example:
@@ -881,14 +881,14 @@ The following adverbs are supported
881881
882882
=begin table
883883
884-
short long meaning
885-
===== ==== =======
886-
:g :global tries to match as often as possible
887-
:nth(Int|Callable|Whatever) only substitute the nth match; aliases: :st, :nd, :rd, and :th
888-
:ss :samespace preserves whitespace on substitution
889-
:ii :samecase preserves case on substitution
890-
:mm :samemark preserves character marks (e.g. 'ü' replaced with 'o' will result in 'ö')
891-
:x(Int|Range|Whatever) substitute exactly $x matches
884+
short | long | meaning
885+
============================+=============+================
886+
:g | :global | tries to match as often as possible
887+
:nth(Int|Callable|Whatever) | | only substitute the nth match; aliases: :st, :nd, :rd, and :th
888+
:ss | :samespace | preserves whitespace on substitution
889+
:ii | :samecase | preserves case on substitution
890+
:mm | :samemark | preserves character marks (e.g. 'ü' replaced with 'o' will result in 'ö')
891+
:x(Int|Range|Whatever) | | substitute exactly $x matches
892892
893893
=end table
894894

0 commit comments

Comments
 (0)