aboutsummaryrefslogtreecommitdiff
path: root/docs/help
diff options
context:
space:
mode:
Diffstat (limited to 'docs/help')
-rw-r--r--docs/help/character.html13
-rw-r--r--docs/help/index.html8
-rw-r--r--docs/help/string.html16
3 files changed, 37 insertions, 0 deletions
diff --git a/docs/help/character.html b/docs/help/character.html
new file mode 100644
index 00000000..7a29a0f5
--- /dev/null
+++ b/docs/help/character.html
@@ -0,0 +1,13 @@
+<head>
+ <link href="../favicon.ico" rel="shortcut icon" type="image/x-icon"/>
+ <link href="../style.css" rel="stylesheet"/>
+ <title>BQN: Single Quote (')</title>
+</head>
+<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 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"
+</pre>
diff --git a/docs/help/index.html b/docs/help/index.html
index 46b5e791..d6110440 100644
--- a/docs/help/index.html
+++ b/docs/help/index.html
@@ -381,5 +381,13 @@
<td><code><span class='Comment'>#</span></code></td>
<td><a href="comment.html">Comment</a></td>
</tr>
+<tr>
+<td><code><span class='String'>'</span></code></td>
+<td><a href="character.html">Character</a></td>
+</tr>
+<tr>
+<td><code><span class='String'>&quot;</span></code></td>
+<td><a href="string.html">String</a></td>
+</tr>
</tbody>
</table>
diff --git a/docs/help/string.html b/docs/help/string.html
new file mode 100644
index 00000000..d7d1e74a
--- /dev/null
+++ b/docs/help/string.html
@@ -0,0 +1,16 @@
+<head>
+ <link href="../favicon.ico" rel="shortcut icon" type="image/x-icon"/>
+ <link href="../style.css" rel="stylesheet"/>
+ <title>BQN: Double Quote (")</title>
+</head>
+<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>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'
+
+ <span class='Number'>2</span> <span class='Function'>⊑</span> <span class='String'>&quot;ab&quot;&quot;cd&quot;</span>
+'"'
+</pre>