/
syn_index.html
435 lines (406 loc) · 16.2 KB
/
syn_index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Official Perl 6 Documentation</title>
<link rel="stylesheet" href="http://dev.perl.org/css/perl.css" type="text/css" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:" />
<script language="javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script language="javascript">
<!--
$(document).ready(function() {
$('#intro-text').toggle();
$('#read-more').click(function() {
$('#intro-text').toggle();
});
});
// --></script>
</head>
<body style="margin-left: 0.3in">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td align="right">
<form method="get" action="http://www.google.com/search" style="position: absolute; top: 5px; right: 5px; text-align: right; "><div>
<input type="hidden" name="ie" value="UTF-8" />
<input type="hidden" name="oe" value="UTF-8" />
<input type="hidden" name="domains" value="perlcabal.org" />
<input type="hidden" name="sitesearch" value="perlcabal.org/syn/" />
<input type="text" name="q" size="31" maxlength="255" value="" />
<input type="submit" name="btnG" value="Google Search the Synopses" />
</div></form>
</td>
</tr>
</table>
<h2><a name="Feather">Official Perl 6 Documentation</a></h2>
<p><b>The Synopsis documents are to be taken as the formal
specification for Perl 6 implementations</b>, while still
being reference documentation for Perl 6, like
<i>Programming Perl</i> is for Perl 5. Note that while
these documents are considered ``formal
specifications'', they are still being subjected to the
rigors of cross-examination through implementation.
In other words, they may change slightly or radically.
But the expectation is that they are ``very close'' to
the final shape of Perl 6.
<a href="#" id="read-more">[Read more...]</a></p>
<div id="intro-text">
<p>However, this HTML version of Synopses is slightly
different in that it contains code snippets from
the offiical test suite. In other words, We have divided the .t files in the
test suite into pieces and inserted every resulting
snippet after the corresponding paragraph of the Synopses.
Furthermore, the embedded tests are also marked by <code>√</code> and <code>×</code>
according to the results of daily auto-smoking on feather.
The job is done by the Perl 5 script util/smartlinks.pl
living in the <a href="http://github.com/perl6/mu/"
title="Perl6 mu repository on Github">mu repository</a>.</p>
<p>All the web pages for Synopses listed
below are updated every <i>one</i> hour from the mu, roast and specs
repositories.</p>
<p>When we say ``S05'', we mean ``spec'' as well as ``synopsis''.</p>
<p>Note that documents marked DRAFT are really just that. They are often
written by random people, and have not been approved of as part of the
official spec. </p>
<p>The documents here mostly correspond with the chapters in the Camel Book,
that is, "Programming Perl, 3rd Edition". However, a few chapters
of that book will no longer be relevant, and those numbers will be resused
for other things. At the moment, this refers to section 7, whose synopsis is
"Iterators", but whose Exegesis is about the module Form.pm. Apocalypses and
Exegeses were only written for some of the early sections; the later sections
have no corresponding apocalypse/exegesis. </p>
<p>Most changes to these specifications have been discussed on the
<a href="http://dev.perl.org/perl6/lists/">perl6-language mailing list</a> or the
<code>#perl6</code> FreeNode channel on IRC.
Additionally, Larry Wall has created an implementation of the parser
for Perl 6 (but it doesn't do any of the backend stuff), and that is usually
regarded as authoritative. </p>
</div>
<p><em>While the Apocalypses and Exegeses are linked here for reference, note
that they are historical documents, whereas the Synopses are kept more
up-to-date and are the primary recommended reference.</em></p>
<table id="doctable">
<tr>
<th></th>
<th></th>
<th><strong>(Specification)</strong>
</th>
<th>(Syn pod)</th>
<th>(Justification)</th>
<th>(Explanation)</th>
</tr>
<tr>
<td>1</td>
<td>Overview</td>
<td><a href="S01.html"><strong>Synopsis</strong></a></td>
<td><a href="http://raw.github.com/perl6/specs/master/S01-overview.pod">S01-overview.pod</a></td>
<td><a href="http://dev.perl.org/perl6/doc/design/apo/A01.html">Apocalypse</a></td>
</tr>
<tr>
<td>2</td>
<td>Bits and Pieces</td>
<td><a href="S02.html"><strong>Synopsis</strong></a></td>
<td><a href="http://raw.github.com/perl6/specs/master/S02-bits.pod">S02-bits.pod</a></td>
<td><a href="http://dev.perl.org/perl6/doc/design/apo/A02.html">Apocalypse</a></td>
<td><a href="http://dev.perl.org/perl6/doc/design/exe/E02.html">Exegesis</a></td>
</tr>
<tr>
<td>3</td>
<td>Summary of Perl 6 Operators </td>
<td><a href="S03.html"><strong>Synopsis</strong></a></td>
<td><a href="http://raw.github.com/perl6/specs/master/S03-operators.pod">S03-operator.pod</a></td>
<td><a href="http://dev.perl.org/perl6/doc/design/apo/A03.html">Apocalypse</a></td>
<td><a href="http://dev.perl.org/perl6/doc/design/exe/E03.html">Exegesis</a></td>
</tr>
<tr>
<td>4</td>
<td>Blocks and Statements</td>
<td><a href="S04.html"><strong>Synopsis</strong></a></td>
<td><a href="http://raw.github.com/perl6/specs/master/S04-control.pod">S04-control.pod</a></td>
<td><a href="http://dev.perl.org/perl6/doc/design/apo/A04.html">Apocalypse</a></td>
<td><a href="http://dev.perl.org/perl6/doc/design/exe/E04.html">Exegesis</a></td>
</tr>
<tr>
<td>5</td>
<td>Regexes and Rules</td>
<td><a href="S05.html"><strong>Synopsis</strong></a></td>
<td><a href="http://raw.github.com/perl6/specs/master/S05-regex.pod">S05-regex.pod</a></td>
<td><a href="http://dev.perl.org/perl6/doc/design/apo/A05.html">Apocalypse</a></td>
<td><a href="http://dev.perl.org/perl6/doc/design/exe/E05.html">Exegesis</a></td>
</tr>
<tr>
<td>6</td>
<td>Subroutines</td>
<td><a href="S06.html"><strong>Synopsis</strong></a></td>
<td><a href="http://raw.github.com/perl6/specs/master/S06-routines.pod">S06-subroutines.pod</a></td>
<td><a href="http://dev.perl.org/perl6/doc/design/apo/A06.html">Apocalypse</a></td>
<td><a href="http://dev.perl.org/perl6/doc/design/exe/E06.html">Exegesis</a></td>
</tr>
<tr>
<td>7</td>
<td>Lists and Iteration [DRAFT]</td>
<td><a href="S07.html"><strong>Synopsis</strong></a></td>
<td><a
href="http://raw.github.com/perl6/specs/master/S07-lists.pod">S07-lists.pod</a></td>
<td></td>
<td></td>
</tr>
<tr>
<td>8</td>
<td>Captures and Parcels [DRAFT]</td>
<td><a href="S08.html"><strong>Synopsis</strong></a></td>
<td><a
href="http://raw.github.com/perl6/specs/master/S08-capture.pod">S08-capture.pod</a></td>
<td></td>
<td></td>
</tr>
<tr>
<td>9</td>
<td>Data Structures</td>
<td><a href="S09.html"><strong>Synopsis</strong></a></td>
<td><a href="http://raw.github.com/perl6/specs/master/S09-data.pod">S09-data.pod</a></td>
<td></td>
<td></td>
</tr>
<tr>
<td>10</td>
<td>Packages</td>
<td><a href="S10.html"><strong>Synopsis</strong></a></td>
<td><a href="http://raw.github.com/perl6/specs/master/S10-packages.pod">S10-packages.pod</a></td>
<td></td>
<td></td>
</tr>
<tr>
<td>11</td>
<td>Modules</td>
<td><a href="S11.html"><strong>Synopsis</strong></a></td>
<td><a href="http://raw.github.com/perl6/specs/master/S11-modules.pod">S11-modules.pod</a></td>
<td></td>
<td></td>
</tr>
<tr>
<td>12</td>
<td>Objects</td>
<td><a href="S12.html"><strong>Synopsis</strong></a></td>
<td><a
href="http://raw.github.com/perl6/specs/master/S12-objects.pod">S12-objects.pod</a></td>
<td><a href="http://dev.perl.org/perl6/doc/design/apo/A12.html">Apocalypse</a></td>
<td></td>
</tr>
<tr>
<td>13</td>
<td>Overloading</td>
<td><a href="S13.html"><strong>Synopsis</strong></a></td>
<td><a
href="http://raw.github.com/perl6/specs/master/S13-overloading.pod">S13-overloading.pod</a></td>
<td></td>
<td></td>
</tr>
<tr>
<td>14</td>
<td>Roles and Parametric Types [DRAFT]</td>
<td><a href="S14.html"><strong>Synopsis</strong></a></td>
<td><a
href="http://raw.github.com/perl6/specs/master/S14-roles-and-parametric-types.pod">S14-roles-and-parametric-types.pod</a></td>
<td></td>
<td></td>
</tr>
<tr><td>15</td><td>Unicode</td><td colspan="4">(TBD)</td></tr>
<tr>
<td>16</td>
<td>IO / User / Group [DRAFT]</td>
<td><a href="S16.html"><strong>Synopsis</strong></a></td>
<td><a href="http://raw.github.com/perl6/specs/master/S16-io.pod">S16-io.pod</a></td>
<td></td>
<td></td>
</tr>
<tr>
<td>17</td>
<td>Processes and Concurrency [DRAFT]</td>
<td><a href="S17.html"><strong>Synopsis</strong></a></td>
<td><a href="http://raw.github.com/perl6/specs/master/S17-concurrency.pod">S17-concurrency.pod</a></td>
<td></td>
<td></td>
</tr>
<tr><td>18</td><td>Compiling</td><td colspan="4">(TBD)</td></tr>
<tr>
<td>19</td><td>Command line interface [DRAFT]</td>
<td><a href="S19.html"><strong>Synopsis</strong></a></td>
<td><a href="http://raw.github.com/perl6/specs/master/S19-commandline.pod">S19-commandline.pod</a></td>
<td></td>
<td></td>
</tr>
<tr><td>20</td><td>Introspection</td><td colspan="4">(Draft)</td></td></tr>
<tr>
<td>21</td>
<td>Calling foreign code [DRAFT]</td>
<td><a href="S21.html"><strong>Synopsis</strong></a></td>
<td><a href="http://raw.github.com/perl6/specs/master/S21-calling-foreign-code.pod">S21-calling-foreign-code.pod</a></td>
<td></td>
<td></td>
</tr>
<tr>
<td>22</td>
<td>CPAN [DRAFT]</td>
<td><a href="S22.html"><strong>Synopsis</strong></a></td>
<td><a href="http://raw.github.com/perl6/specs/master/S22-cpan.pod">S22-cpan.pod</a></td>
<td></td>
<td></td>
</tr>
<tr><td>23</td><td>Security</td><td colspan="4">(TBD)</td></tr>
<tr>
<td>24</td>
<td>Testing</td>
<td><a href="S24.html"><strong>Synopsis</strong></a></td>
<td><a href="http://raw.github.com/perl6/specs/master/S24-testing.pod">S24-testing.pod</a></td>
<td></td>
<td></td>
</tr>
<tr><td>25</td><td>Portable perl</td><td colspan="4">(TBD)</td></tr>
<tr>
<td>26</td>
<td>Documentation</td>
<td><a href="S26.html">Synopsis</a></td>
<td><a href="http://raw.github.com/perl6/specs/master/S26-documentation.pod">S26-documentation.pod</a></td>
<td colspan="2">(HTML rendering of S26 is known to be incomplete)</td>
</tr>
<tr><td>27</td><td>Perl culture</td><td colspan="4">(Draft)</td></tr>
<tr>
<td>28</td>
<td>Special names</td>
<td><a href="S28.html"><strong>Synopsis</strong></a></td>
<td><a href="http://raw.github.com/perl6/specs/master/S28-special-names.pod">S28-special-names.pod</a></td>
<td></td>
<td></td>
</tr>
<tr>
<td>29</td>
<td>Builtin Functions [DRAFT]</td>
<td><a href="S29.html"><strong>Synopsis</strong></a></td>
<td><a href="http://raw.github.com/perl6/specs/master/S29-functions.pod">S29-functions.pod</a></td>
<td></td>
<td></td>
</tr>
<tr><td>30</td><td>Standard perl library</td><td colspan="4">(TBD)</td></tr>
<tr>
<td>31</td>
<td>Pragmatic modules [DRAFT]</td>
<td><a href="S31.html"><strong>Synopsis</strong></a></td>
<td><a href="http://raw.github.com/perl6/specs/master/S31-pragmatic-modules.pod">S31-pragmatic-modules.pod</a></td>
<td></td>
<td></td>
</tr>
<tr><td>32</td><td>Setting library [DRAFT]</td><td colspan="4"> </td></tr>
<tr>
<td></td>
<td>Basics+ [DRAFT]</td>
<td><a href="S32/Basics.html"><strong>Synopsis</strong></a></td>
<td><a href="http://raw.github.com/perl6/specs/master/S32-setting-library/Basics.pod">Basics.pod</a></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td>Callable* [DRAFT]</td>
<td><a href="S32/Callable.html"><strong>Synopsis</strong></a></td>
<td><a href="http://raw.github.com/perl6/specs/master/S32-setting-library/Callable.pod">Callable.pod</a></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td>Containers* [DRAFT]</td>
<td><a href="S32/Containers.html"><strong>Synopsis</strong></a></td>
<td><a href="http://raw.github.com/perl6/specs/master/S32-setting-library/Containers.pod">Containers.pod</a></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td>Exception* [DRAFT]</td>
<td><a href="S32/Exception.html"><strong>Synopsis</strong></a></td>
<td><a href="http://raw.github.com/perl6/specs/master/S32-setting-library/Exception.pod">Exception.pod</a></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td>IO* [DRAFT]</td>
<td><a href="S32/IO.html"><strong>Synopsis</strong></a></td>
<td><a href="http://raw.github.com/perl6/specs/master/S32-setting-library/IO.pod">IO.pod</a></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td>Numeric* [DRAFT]</td>
<td><a href="S32/Numeric.html"><strong>Synopsis</strong></a></td>
<td><a href="http://raw.github.com/perl6/specs/master/S32-setting-library/Numeric.pod">Numeric.pod</a></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td>Rules* [DRAFT]</td>
<td><a href="S32/Rules.html"><strong>Synopsis</strong></a></td>
<td><a href="http://raw.github.com/perl6/specs/master/S32-setting-library/Rules.pod">Rules.pod</a></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td>Str [DRAFT]</td>
<td><a href="S32/Str.html"><strong>Synopsis</strong></a></td>
<td><a href="http://raw.github.com/perl6/specs/master/S32-setting-library/Str.pod">Str.pod</a></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td>Temporal+</td>
<td><a href="S32/Temporal.html"><strong>Synopsis</strong></a></td>
<td><a href="http://raw.github.com/perl6/specs/master/S32-setting-library/Temporal.pod">Temporal.pod</a></td>
<td></td>
<td></td>
</tr>
<tr><td>33</td><td>Diagnostic messages</td><td colspan="4">(TBD)</td></tr>
</table>
<h3>Indexes</h3>
<ul>
<li><a href="index_X.html">X tags</a></li>
<li><a href="index_C.html">C tags</a></li>
</ul>
<h3>S32 Key</h3>
<dl>
<dt>* = Document related types as well</dt>
<dt>+ = Not a type name, but documents a group of types</dt>
</dl>
<h2>DRAFT specifications</h2>
<p>
The few draft PODs here should probably be cleaned up into Spec-like
formats and moved to Perl6::Spec space.
</p>
<ul>
<li><a href="http://github.com/perl6/mu/tree/master/docs/AES/A20draft.pod">Debugging</a></li>
<li><a href="http://github.com/perl6/mu/tree/master/docs/AES/S27draft.pod">Perl Culture</a></li>
</ul>
<h2>Differences from Perl 5</h2>
<ul>
<li><a href="Differences.html">Differences Between Perl 5 and Perl 6</a></li>
</ul>
<p>
The Differences document is stored in <code>docs/Perl6/Perl5/Differences.pod</code>
in the <a href="http://github.com/perl6/mu/" title="Perl6 mu repository on Github">mu repository</a>,
if you'd like to make updates to it. Your changes will
automatically appear on feather in less than 1 hour.
</p>
<h2>Further reading</h2>
<p>For further information on Perl 6, links to examples, tutorials etc. please
visit <a href="http://perl6.org/">perl6.org, the official Perl 6
homepage</a>.</p>
<h2>About this page</h2>
<p>
The page you're currently looking at lives in the mu repo as
<code>docs/feather/syn_index.html</code>, and is resync'd every 1 hour.
</p>
</body>
</html>