Skip to content

Commit 1746f4b

Browse files
committed
New April gen
1 parent 44b2ce6 commit 1746f4b

File tree

8 files changed

+35
-17
lines changed

8 files changed

+35
-17
lines changed

js/search.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5321,11 +5321,13 @@ $(function(){
53215321
,
53225322
{ category: "Reference", value: "$*USAGE", url: "/language/variables#index-entry-$*USAGE" }
53235323
,
5324+
{ category: "Reference", value: "$*DEFAULT-READ-ELEMS", url: "/language/variables#index-entry-$*DEFAULT-READ-ELEMS" }
5325+
,
53245326
{ category: "Reference", value: "$*COLLATION", url: "/language/variables#index-entry-$*COLLATION" }
53255327
,
5326-
{ category: "Reference", value: "$*TOLERANCE", url: "/language/variables#index-entry-$*TOLERANCE" }
5328+
{ category: "Reference", value: "$*RAT-OVERFLOW", url: "/language/variables#index-entry-$*RAT-OVERFLOW" }
53275329
,
5328-
{ category: "Reference", value: "$*DEFAULT-READ-ELEMS", url: "/language/variables#index-entry-$*DEFAULT-READ-ELEMS" }
5330+
{ category: "Reference", value: "$*TOLERANCE", url: "/language/variables#index-entry-$*TOLERANCE" }
53295331
,
53305332
{ category: "Reference", value: "Type objects", url: "/language/objects#index-entry-Type_objects" }
53315333
,

language/filename-extensions.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ <h1 class="title">Filename extensions</h1>
8585
<p>Filename extensions can be used to associate behavior with the file content, such as opening a specialized reader or editor, running a program with the file content as input, etc. On some operating systems, this is almost the required behavior. Even when it is not required by the operating system, filename extensions provide a useful mnemonic, or reminder, about the contents of the file.</p>
8686
<p>Early filesystems, the part of the operating system handling filenames, constrained filename extensions to three characters after the &#39;.&#39;. This is no longer a constraint.</p>
8787
<h1 id="History_and_extensions"><a class="u" href="#___top" title="go to top of document">History and extensions</a></h1>
88-
<p>The Raku language was for many years known as Perl&nbsp;6, and filename extensions were adopted accordingly. Consequently, there is a best current practice and a previous best practice. The following table is an attempt to list all the filename extensions, starting with the earliest on the left.</p>
88+
<p>The Raku language was for many years known as Perl&nbsp;6, and filename extensions were adopted accordingly. Consequently, there is a best current practice and a previous best practice. The table at the top is an attempt to list all the filename extensions, starting with the earliest on the left.</p>
8989
<p>The most recent best practice is shown in the last column.</p>
9090
<p>Some modules will become widely used, and will have filename extensions associated with them.</p>
9191
<p>A module developer / maintainer may add to the table and create a PR with the change in the same way as making other changes to the documentation.</p>

language/glossary.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,8 +307,7 @@ <h1 id="Exegesis"><a class="u" href="#___top" title="go to top of document">Exeg
307307
<p><a name="index-entry-forward_declaration"></a></p>
308308
<h1 id="Forward_declarations"><a class="u" href="#___top" title="go to top of document">Forward declarations</a></h1>
309309
<p>Declare the scope and/or type of a functional entity (class or routine) without actually declaring its code by using the <a href="/language/operators#index-entry-..._operators">&quot;stub&quot; operator</a>; code will be declared later on in the same file.</p>
310-
<pre class="editor editor-colors"><div class="line"><span class="source raku"><span class="meta class raku"><span class="storage type class raku"><span>grammar</span></span><span>&nbsp;</span><span class="entity name type class raku"><span>Quux</span></span></span><span>&nbsp;</span><span class="meta block raku"><span class="punctuation definition block raku"><span>{</span></span></span></span></div><div class="line"><span class="source raku"><span class="meta block raku"><span>&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="storage modifier declarator raku"><span>my</span></span><span>&nbsp;</span><span class="meta regexp named raku"><span class="storage type declare regexp named raku"><span>regex</span></span><span>&nbsp;</span><span class="entity name function regexp named raku"><span>future</span></span><span>&nbsp;</span><span class="meta regexp named block raku"><span class="punctuation definition regex named raku"><span>{</span></span><span class="keyword operator quantifiers regexp raku"><span>..</span><span>.</span></span></span><span class="punctuation definition regexp named raku"><span>}</span></span></span><span>;</span></span></span></div></pre><pre class="editor editor-colors"><div class="line"><span class="source raku"><span class="support function raku"><span>say</span></span><span>&nbsp;</span><span class="string quoted double raku"><span class="punctuation definition string begin raku"><span>&quot;</span></span><span>foobarbaz</span><span class="punctuation definition string end raku"><span>&quot;</span></span></span><span>&nbsp;</span><span class="keyword operator multi-symbol raku"><span>~~</span></span><span>&nbsp;</span><span class="punctuation definition regexp raku"><span>/</span></span><span class="string regexp raku"><span class="meta property regexp raku"><span class="punctuation delimiter property regexp raku"><span>&lt;</span></span><span class="variable other identifier regexname raku"><span>future</span></span><span class="punctuation delimiter property regexp raku"><span>&gt;</span></span></span></span><span class="punctuation definition regexp raku"><span>/</span></span><span>;</span></span></div><div class="line"><span class="source raku"><span>&nbsp;</span></span></div><div class="line"><span class="source raku"><span class="meta regexp named raku"><span class="storage type declare regexp named raku"><span>regex</span></span><span>&nbsp;</span><span class="entity name function regexp named raku"><span>future</span></span><span>&nbsp;</span><span class="meta regexp named block raku"><span class="punctuation definition regex named raku"><span>{</span></span><span>&nbsp;f&nbsp;</span><span class="constant character escape class regexp raku"><span>\w</span></span><span class="keyword operator quantifiers regexp raku"><span>**</span></span><span>&nbsp;2&nbsp;b&nbsp;</span><span class="constant character escape class regexp raku"><span>\w</span></span><span>&nbsp;</span><span class="keyword operator quantifiers regexp raku"><span>**</span></span><span>&nbsp;2&nbsp;</span></span><span class="punctuation definition regexp named raku"><span>}</span></span></span></span></div></pre><p>}</p>
311-
<p>In this case, the regex acts as a method; please note that the scope is only declared once.</p>
310+
<pre class="editor editor-colors"><div class="line"><span class="source raku"><span class="meta class raku"><span class="storage type class raku"><span>grammar</span></span><span>&nbsp;</span><span class="entity name type class raku"><span>Quux</span></span></span><span>&nbsp;</span><span class="meta block raku"><span class="punctuation definition block raku"><span>{</span></span></span></span></div><div class="line"><span class="source raku"><span class="meta block raku"><span>&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="storage modifier declarator raku"><span>my</span></span><span>&nbsp;</span><span class="meta regexp named raku"><span class="storage type declare regexp named raku"><span>regex</span></span><span>&nbsp;</span><span class="entity name function regexp named raku"><span>future</span></span><span>&nbsp;</span><span class="meta regexp named block raku"><span class="punctuation definition regex named raku"><span>{</span></span><span class="keyword operator quantifiers regexp raku"><span>..</span><span>.</span></span></span><span class="punctuation definition regexp named raku"><span>}</span></span></span><span>;</span></span></span></div><div class="line"><span class="source raku"><span class="meta block raku"><span>&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="support function raku"><span>say</span></span><span>&nbsp;</span><span class="string quoted double raku"><span class="punctuation definition string begin raku"><span>&quot;</span></span><span>foobarbaz</span><span class="punctuation definition string end raku"><span>&quot;</span></span></span><span>&nbsp;</span><span class="keyword operator multi-symbol raku"><span>~~</span></span><span>&nbsp;</span><span class="punctuation definition regexp raku"><span>/</span></span><span class="string regexp raku"><span class="meta property regexp raku"><span class="punctuation delimiter property regexp raku"><span>&lt;</span></span><span class="variable other identifier regexname raku"><span>future</span></span><span class="punctuation delimiter property regexp raku"><span>&gt;</span></span></span></span><span class="punctuation definition regexp raku"><span>/</span></span><span>;</span></span></span></div><div class="line"><span class="source raku"><span class="meta block raku"><span>&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="meta regexp named raku"><span class="storage type declare regexp named raku"><span>regex</span></span><span>&nbsp;</span><span class="entity name function regexp named raku"><span>future</span></span><span>&nbsp;</span><span class="meta regexp named block raku"><span class="punctuation definition regex named raku"><span>{</span></span><span>&nbsp;f&nbsp;</span><span class="constant character escape class regexp raku"><span>\w</span></span><span class="keyword operator quantifiers regexp raku"><span>**</span></span><span>&nbsp;2&nbsp;b&nbsp;</span><span class="constant character escape class regexp raku"><span>\w</span></span><span>&nbsp;</span><span class="keyword operator quantifiers regexp raku"><span>**</span></span><span>&nbsp;2&nbsp;</span></span><span class="punctuation definition regexp named raku"><span>}</span></span></span></span></span></div><div class="line"><span class="source raku"><span class="meta block raku"><span class="punctuation definition block raku"><span>}</span></span></span></span></div></pre><p>In this case, the regex acts as a method; please note that the scope is only declared once.</p>
312311
<p><a name="index-entry-fiddly"></a></p>
313312
<h1 id="fiddly"><a class="u" href="#___top" title="go to top of document">fiddly</a></h1>
314313
<p>Too complicated to apply a metaop to. See <a href="#Operator">operator</a>.</p>

0 commit comments

Comments
 (0)