Skip to content

Commit 78a2c9d

Browse files
committed
first half of new concise B navigation
1 parent 45e82d3 commit 78a2c9d

File tree

4 files changed

+67
-1154
lines changed

4 files changed

+67
-1154
lines changed

docs/appendix-a-index.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ matches the end of a line (no more multile mode)
168168

169169

170170

171-
# [%](#nav-top)
171+
# [%](#charnav-top)
172172

173173

174174
<a id="percent"/><a id="percent-sigil"/>

docs/appendix-b-grouped.txt

Lines changed: 65 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,35 @@
11
% Perl 6 Tablets Appendix B - Thematically Grouped Index
22

3-
4-
[Variables](#nav-top)
5-
=========
6-
7-
8-
[Sigils](#nav-top)
9-
------
3+
* [Variables](#variables)
4+
* [Sigils](#sigils)
5+
* [Twigils](#twigils)
6+
* [Special](#special-var) : [Match](#special-var-match), [Global](#special-var-global), [Compiler](#special-var-compiler), [POD](#special-var-pod), [Slang](#special-var-slang)
7+
* [Constants](#constants)
8+
* [Scope](#variable-scope): [Declarator](#variable-scope-decalarator)
9+
* [Type](#variable-type): [Undefined](#variable-type-undefined), [Immutable](#variable-type-immutable), [Mutable](#variable-type-mutable), [Low Level](#variable-type-low-level), [Introspection](#variable-type-introspection)
10+
* Operators
11+
* Precedence
12+
* Associativity
13+
* Categories: Main, Regex
14+
* Meta
15+
* Unicode
16+
* Contextualizers
17+
* Junctions
18+
* Sets
19+
* Smartmatch
20+
* Files Tests
21+
* Quoting
22+
* Text
23+
* Regex
24+
25+
<a id="variables"/>
26+
27+
# [Variables](#nav-top)
28+
29+
30+
<a id="sigils"/>
31+
32+
## [Sigils](#nav-top)
1033

1134
All variables in Perl begin with a [sigil](appendix-g-glossary#sigil).
1235
They mark the 3 primary var types.
@@ -25,6 +48,7 @@ The first 4 can also be used as prefix operators, called
2548
[contextualizers](#contextualizers), that force different contexts,
2649
but there are much more different contexts then 4.
2750

51+
<a id="twigils"/>
2852

2953
[Twigils](#nav-top)
3054
-------
@@ -44,6 +68,8 @@ Twigil is short for secondary sigil. They follow after a primary sigil and mark
4468
-------------------------------------------------- ------------------------------------------------------------
4569

4670

71+
<a id="special-var"/>
72+
4773
[Special Variables](#nav-top)
4874
-----------------
4975

@@ -52,6 +78,7 @@ Twigil is short for secondary sigil. They follow after a primary sigil and mark
5278
[`$!`](appendix-a-index#exclamation-var) error msg
5379
---------------------------------------- ------------------------
5480

81+
<a id="special-var-match"/>
5582

5683
### [Match Variables](#nav-top) ###
5784

@@ -62,6 +89,8 @@ Twigil is short for secondary sigil. They follow after a primary sigil and mark
6289
[`@()`](appendix-a-index#round-brackets-var) array that holds $0 .. $9 and rest and positional submatches
6390
------------------------------------------------ ------------------------------------------------------------------------------------
6491

92+
<a id="special-var-global"/>
93+
6594
### [Global Variables](#nav-top) ###
6695

6796
context variable, default global (run time), any of them are now
@@ -95,6 +124,8 @@ $*EMERGENCY_MEMORY formerly `$
95124
$*DEBUGGING &nbsp;
96125
------------------------------------------------------------------- -------------------------------------------------------------------
97126

127+
<a id="special-var-compiler"/>
128+
98129
### [Compiler Hint Variables](#nav-top) ###
99130

100131
compiler constants (fixed at compile time)
@@ -122,6 +153,8 @@ compiler constants (fixed at compile time)
122153
[`$?TABSTOP`](appendix-a-index#TABSTOP-compiler-var)
123154
----------------------------------------------------------- ------------------------------------------------------------------
124155

156+
<a id="special-var-pod"/>
157+
125158
### [POD Variables](#nav-top) ###
126159

127160
File-[scoped](appendix-g-glossary#scope) [POD](basic-syntax#pod) data
@@ -132,6 +165,9 @@ File-[scoped](appendix-g-glossary#scope) [POD](basic-syntax#pod) data
132165
[`@=COMMENT`](appendix-a-index#COMMENT-pod-var) All the comment blocks in the file
133166
------------------------------------------------ ----------------------------------------
134167

168+
<a id="special-var-slang"/>
169+
170+
135171
### [Slang Variables](#nav-top) ###
136172

137173
sublanguage seen by the parser at this lexical spot
@@ -144,6 +180,7 @@ sublanguage seen by the parser at this lexical spot
144180
[`$~P5Regex`](appendix-a-index#P5Regex-slang-var) the current root of the Perl regex language
145181
-------------------------------------------------- ------------------------------------------------
146182

183+
<a id="constants"/>
147184

148185
[Constants](#nav-top)
149186
---------
@@ -158,6 +195,7 @@ Name Value Meaning
158195
[pi](appendix-a-index#pi-constant) 3.14159265394248 [ratio of a circle's circumference to its diameter](appendix-g-glossary#pi)
159196
---------------------------------- ---------------- -----------------------------------
160197

198+
<a id="variable-scope"/>
161199

162200
[Scope](#nav-top)
163201
-----
@@ -195,8 +233,9 @@ calls:
195233
SUPER Package symbols declared in inherited classes
196234
------ -----------------------------------------------------
197235

236+
<a id="variable-scope-declarator"/>
198237

199-
### Declarator ###
238+
### [Declarator](#nav-top)
200239

201240
------------------------------------------ -------------------------------------------------------
202241
[`my`](appendix-a-index#my) introduces lexically [scoped](appendix-g-glossary#scope) names
@@ -209,16 +248,19 @@ SUPER Package symbols declared in inherited classes
209248
------------------------------------------ -------------------------------------------------------
210249

211250

251+
<a id="variable-type"/>
252+
253+
## [Value Types](#nav-top)
212254

213-
Value Types
214-
-----------
215255

216256
In Perl 6 any variable and value is an object. Here's a list of all
217257
different types of values, represented my different classes or
218258
roles. The [routine types](ap-b-lookup#routine-types) are in a
219259
different section.
220260

221-
### Undefined types ###
261+
<a id="variable-type-undefined"/>
262+
263+
### [Undefined types](#nav-top)
222264

223265
------------------------------------------ -----------------------------------------------------------------
224266
[Mu](appendix-a-index#Mu-type) Most Undefined
@@ -232,9 +274,9 @@ different section.
232274
Widget Any Widget object
233275
------------------------------------------ -----------------------------------------------------------------
234276

277+
<a id="variable-type-immutable"/>
235278

236-
237-
### Immutable types ###
279+
### [Immutable types](#nav-top)
238280

239281
------------------------------------------------ -------------------------------------------------------------
240282
[Str](appendix-a-index#Str-type) Perl string (finite sequence of Unicode characters)
@@ -262,9 +304,9 @@ Widget Any Widget object
262304
[HardRoutine](appendix-a-index#HardRoutine-type) a routine that is committed to not changing
263305
------------------------------------------------ ------------------------------------------------------------
264306

307+
<a id="variable-type-mutable"/>
265308

266-
267-
### Mutable types ###
309+
### [Mutable types](#nav-top)
268310

269311
------------------------------------------------ ---------------------------------------------------------
270312
[Iterator](appendix-a-index#Iterator-type) Perl list
@@ -288,10 +330,10 @@ Widget Any Widget object
288330
[SoftRoutine](appendix-a-index#SoftRoutine-type) a routine that is committed to staying mutable
289331
------------------------------------------------ ---------------------------------------------------------
290332

333+
<a id="variable-type-low-level"/>
291334

335+
### [Low level data types](#nav-top)
292336

293-
Low level data types
294-
--------------------
295337

296338
This is more low level than the last table. These types are more meant
297339
to give the compiler optimizing hints.
@@ -332,9 +374,9 @@ buf32 a uint32 buffer
332374
buf64 a uint64 buffer
333375
---------- ------------------------------------
334376

377+
<a id="variable-type-introspection"/>
335378

336-
Object Introspection
337-
--------------------
379+
## [Object Introspection](#nav-top)
338380

339381
Every value in P6 is an [object](appendix-g-glossary#object) and has
340382
following [methods](appendix-g-glossary#method) to tell more about itself.
@@ -350,11 +392,13 @@ following [methods](appendix-g-glossary#method) to tell more about itself.
350392
[WHENCE](appendix-a-index#WHENCE-introspection) autovivification of closures
351393
----------------------------------------------- ---------------------------------------------------------------
352394

353-
395+
<a id="operators"/>
354396

355397
[Operators](#nav-top)
356398
=========
357399

400+
<a id="operator-precedence"/>
401+
358402
[Table of Precedence](#nav-top)
359403
-------------------
360404

@@ -390,7 +434,7 @@ X Sequencer [`<==`](appendix-a-index#pipe-left) [`==>`](appendix-a-in
390434
N Terminator [`;`](appendix-a-index#semicolon) [`{...}`](appendix-a-index#curly-brackets) [`unless`](appendix-a-index#unless) `extra ) ] }`
391435
-- ----------------- ----------------------------------------------------
392436

393-
437+
<a id="operators-associativity"/>
394438

395439
[Operator Associativity](#nav-top)
396440
----------------------

0 commit comments

Comments
 (0)