aboutsummaryrefslogtreecommitdiff
path: root/docs/help
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2022-07-07 21:23:06 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2022-07-07 21:23:26 -0400
commit77c6ab5c8435c9fcde7c4742ee0e5eb06341eeff (patch)
tree48ff9cf3b9066aea0e38111a9dc5ce92f87ebe96 /docs/help
parentf14c4af888dc678eefe1de323b8fe41f7387e82b (diff)
Separate token and constant documentation into its own page
Diffstat (limited to 'docs/help')
-rw-r--r--docs/help/character.html2
-rw-r--r--docs/help/comment.html2
-rw-r--r--docs/help/infinity.html2
-rw-r--r--docs/help/minus.html2
-rw-r--r--docs/help/nullcharacter.html2
-rw-r--r--docs/help/pi.html2
-rw-r--r--docs/help/separator.html2
-rw-r--r--docs/help/string.html2
8 files changed, 8 insertions, 8 deletions
diff --git a/docs/help/character.html b/docs/help/character.html
index 7a29a0f5..4675c644 100644
--- a/docs/help/character.html
+++ b/docs/help/character.html
@@ -6,7 +6,7 @@
<div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">help</a></div>
<h1 id="single-quote-"><a class="header" href="#single-quote-">Single Quote (<code><span class='String'>'</span></code>)</a></h1>
<h2 id="c-character"><a class="header" href="#c-character"><code><span class='String'>'c'</span></code>: Character</a></h2>
-<p><a class="fulldoc" href="../doc/syntax.html#constants">→full documentation</a></p>
+<p><a class="fulldoc" href="../doc/token.html#characters-and-strings">→full documentation</a></p>
<p>A character literal whose value is the character between quotes. Any character can be used, even <code><span class='String'>'</span></code> and newline.</p>
<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=J2En4oC/J2In">↗️</a><pre> <span class='String'>'a'</span><span class='Ligature'>‿</span><span class='String'>'b'</span>
"ab"
diff --git a/docs/help/comment.html b/docs/help/comment.html
index 70671d81..8b02d745 100644
--- a/docs/help/comment.html
+++ b/docs/help/comment.html
@@ -6,7 +6,7 @@
<div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">help</a></div>
<h1 id="number-sign-"><a class="header" href="#number-sign-">Number Sign (<code><span class='Comment'>#</span></code>)</a></h1>
<h2 id="-comment"><a class="header" href="#-comment"><code><span class='Comment'>#</span></code>: Comment</a></h2>
-<p><a class="fulldoc" href="../doc/syntax.html#comments">→full documentation</a></p>
+<p><a class="fulldoc" href="../doc/token.html#comments">→full documentation</a></p>
<p>Create a comment that extends to the end of the line.</p>
<p>Anything written in comments is ignored.</p>
<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=MSArIDIgIyArIDMgKyA0CgoiSGVsbG8gd29ybGQhIiAjIHRoaXMgaXMgaWdub3JlZCE=">↗️</a><pre> <span class='Number'>1</span> <span class='Function'>+</span> <span class='Number'>2</span> <span class='Comment'># + 3 + 4
diff --git a/docs/help/infinity.html b/docs/help/infinity.html
index c607967e..8771e545 100644
--- a/docs/help/infinity.html
+++ b/docs/help/infinity.html
@@ -6,7 +6,7 @@
<div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">help</a></div>
<h1 id="infinity-"><a class="header" href="#infinity-">Infinity (<code><span class='Number'>∞</span></code>)</a></h1>
<h2 id="-infinity"><a class="header" href="#-infinity"><code><span class='Number'>∞</span></code>: Infinity</a></h2>
-<p><a class="fulldoc" href="../doc/syntax.html#constants">→full documentation</a></p>
+<p><a class="fulldoc" href="../doc/token.html#numbers">→full documentation</a></p>
<p>Mathematical constant Infinity, a numeric literal. Can be negative (<code><span class='Number'>¯∞</span></code>).</p>
<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=4oieCgrCr+KIngoKMSviiJ4=">↗️</a><pre> <span class='Number'>∞</span>
diff --git a/docs/help/minus.html b/docs/help/minus.html
index c235aa75..ca43170a 100644
--- a/docs/help/minus.html
+++ b/docs/help/minus.html
@@ -6,7 +6,7 @@
<div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">help</a></div>
<h1 id="macron-"><a class="header" href="#macron-">Macron (<code><span class='Number'>¯</span></code>)</a></h1>
<h2 id="-minus"><a class="header" href="#-minus"><code><span class='Number'>¯</span></code>: Minus</a></h2>
-<p><a class="fulldoc" href="../doc/syntax.html#constants">→full documentation</a></p>
+<p><a class="fulldoc" href="../doc/token.html#numbers">→full documentation</a></p>
<p>Prefix before numbers to indicate that they are negative.</p>
<p>Note that this is not the same as <code><span class='Function'>-</span></code>, since it is part of the number, rather than a primitive that negates its value.</p>
<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=LTHigL8y4oC/MwoKwq8x4oC/MuKAvzM=">↗️</a><pre> <span class='Function'>-</span><span class='Number'>1</span><span class='Ligature'>‿</span><span class='Number'>2</span><span class='Ligature'>‿</span><span class='Number'>3</span>
diff --git a/docs/help/nullcharacter.html b/docs/help/nullcharacter.html
index 24bcf67e..491642e8 100644
--- a/docs/help/nullcharacter.html
+++ b/docs/help/nullcharacter.html
@@ -6,7 +6,7 @@
<div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">help</a></div>
<h1 id="commercial-at-"><a class="header" href="#commercial-at-">Commercial At (<code><span class='String'>@</span></code>)</a></h1>
<h2 id="-null-character"><a class="header" href="#-null-character"><code><span class='String'>@</span></code>: Null Character</a></h2>
-<p><a class="fulldoc" href="../doc/syntax.html#constants">→full documentation</a></p>
+<p><a class="fulldoc" href="../doc/token.html#characters-and-strings">→full documentation</a></p>
<p>Null character, code point 0 in ASCII. A shortcut character literal.</p>
<p>Add to a code point number to get that character.</p>
<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=QCs1MAoKQAoKQCs2NA==">↗️</a><pre> <span class='String'>@</span><span class='Function'>+</span><span class='Number'>50</span>
diff --git a/docs/help/pi.html b/docs/help/pi.html
index 3a947cb2..7d677211 100644
--- a/docs/help/pi.html
+++ b/docs/help/pi.html
@@ -6,7 +6,7 @@
<div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">help</a></div>
<h1 id="pi-π"><a class="header" href="#pi-π">Pi (<code><span class='Number'>π</span></code>)</a></h1>
<h2 id="π-pi"><a class="header" href="#π-pi"><code><span class='Number'>π</span></code>: Pi</a></h2>
-<p><a class="fulldoc" href="../doc/syntax.html#constants">→full documentation</a></p>
+<p><a class="fulldoc" href="../doc/token.html#numbers">→full documentation</a></p>
<p>The mathematical constant pi, a numeric literal. Can be negative (<code><span class='Number'>¯π</span></code>).</p>
<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=z4AKCsKvz4A=">↗️</a><pre> <span class='Number'>π</span>
3.141592653589793
diff --git a/docs/help/separator.html b/docs/help/separator.html
index 3c104dbe..931d635e 100644
--- a/docs/help/separator.html
+++ b/docs/help/separator.html
@@ -6,7 +6,7 @@
<div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">help</a></div>
<h1 id="comma--and-diamond-"><a class="header" href="#comma--and-diamond-">Comma (<code><span class='Separator'>,</span></code>) and Diamond (<code><span class='Separator'>⋄</span></code>)</a></h1>
<h2 id="-or--separator"><a class="header" href="#-or--separator"><code><span class='Separator'>,</span></code> or <code><span class='Separator'>⋄</span></code>: Separator</a></h2>
-<p><a class="fulldoc" href="../doc/syntax.html#separators">→full documentation</a></p>
+<p><a class="fulldoc" href="../doc/token.html#separators">→full documentation</a></p>
<p>Separates statements in blocks, programs, and arrays. Characters <code><span class='Separator'>,</span></code> and <code><span class='Separator'>⋄</span></code> are interchangeable with each other and with newline.</p>
<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=YSDihpAgMyAsIOKKoiBiIOKGkCAyCgoxIOKLhCAyICwgMwoK4p+oMSAsIDIg4ouEIDPin6kKCnsxIOKLhCAyIOKLhCAzfQ==">↗️</a><pre> <span class='Value'>a</span> <span class='Gets'>←</span> <span class='Number'>3</span> <span class='Separator'>,</span> <span class='Function'>⊢</span> <span class='Value'>b</span> <span class='Gets'>←</span> <span class='Number'>2</span>
2
diff --git a/docs/help/string.html b/docs/help/string.html
index d7d1e74a..18a6db4f 100644
--- a/docs/help/string.html
+++ b/docs/help/string.html
@@ -6,7 +6,7 @@
<div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">help</a></div>
<h1 id="double-quote-"><a class="header" href="#double-quote-">Double Quote (<code><span class='String'>&quot;</span></code>)</a></h1>
<h2 id="str-string"><a class="header" href="#str-string"><code><span class='String'>&quot;str&quot;</span></code>: String</a></h2>
-<p><a class="fulldoc" href="../doc/syntax.html#constants">→full documentation</a></p>
+<p><a class="fulldoc" href="../doc/token.html#characters-and-strings">→full documentation</a></p>
<p>Literal notation for a string, or list of characters. Double quotes must be escaped by writing them twice. Any other characters can be included directly.</p>
<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=MiDiipEgInN0cmluZyIKCjIg4oqRICJhYiIiY2Qi">↗️</a><pre> <span class='Number'>2</span> <span class='Function'>⊑</span> <span class='String'>&quot;string&quot;</span>
'r'