aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/fromDyalog.md2
-rw-r--r--doc/shift.md2
-rw-r--r--docs/doc/fromDyalog.html2
-rw-r--r--docs/doc/shift.html2
4 files changed, 4 insertions, 4 deletions
diff --git a/doc/fromDyalog.md b/doc/fromDyalog.md
index 1ed78cea..a258a035 100644
--- a/doc/fromDyalog.md
+++ b/doc/fromDyalog.md
@@ -22,7 +22,7 @@ BQN shares the terms "cell" and "major cell" with Dyalog, and uses
### Roles
-Dyalog uses value types (array, function, and so on) to determine syntax while BQN uses a separate concept called syntactic roles. See [context-free grammer](context.md).
+Dyalog uses value types (array, function, and so on) to determine syntax while BQN uses a separate concept called syntactic roles. See [context-free grammar](context.md).
| Dyalog type | BQN role |
|------------------|------------|
diff --git a/doc/shift.md b/doc/shift.md
index 7b31a2b6..13c388cc 100644
--- a/doc/shift.md
+++ b/doc/shift.md
@@ -56,7 +56,7 @@ The glyphs `«` and `»`, suggesting movement, were chosen for the same reasons
3 ⥊⟜0⊸« i # Alternate left shift
-With a number in big-endian format, a right shift might be logical, shifting in zeros, or arithmetic, shifting in copies of the highest-order bit (for little-endian numbers, this applies to left shift rather than right ones). The two kinds of shift can be performed with similar code, using `0` or `⊏𝕩` for the inserted cell.
+With a number in big-endian format, a right shift might be logical, shifting in zeros, or arithmetic, shifting in copies of the highest-order bit (for little-endian numbers, this applies to left shifts rather than right ones). The two kinds of shift can be performed with similar code, using `0` or `⊏𝕩` for the inserted cell.
3 ⥊⟜0⊸» i # Logical right shift
diff --git a/docs/doc/fromDyalog.html b/docs/doc/fromDyalog.html
index 5a170c9a..41452874 100644
--- a/docs/doc/fromDyalog.html
+++ b/docs/doc/fromDyalog.html
@@ -38,7 +38,7 @@
<p>BQN shares the terms &quot;cell&quot; and &quot;major cell&quot; with Dyalog, and uses
&quot;element&quot; (which may mean different things to different Dyalog users) <em>not</em> for a 0-cell but for the value it contains.</p>
<h3 id="roles">Roles</h3>
-<p>Dyalog uses value types (array, function, and so on) to determine syntax while BQN uses a separate concept called syntactic roles. See <a href="context.html">context-free grammer</a>.</p>
+<p>Dyalog uses value types (array, function, and so on) to determine syntax while BQN uses a separate concept called syntactic roles. See <a href="context.html">context-free grammar</a>.</p>
<table>
<thead>
<tr>
diff --git a/docs/doc/shift.html b/docs/doc/shift.html
index b5fc7f08..0d162721 100644
--- a/docs/doc/shift.html
+++ b/docs/doc/shift.html
@@ -68,7 +68,7 @@
<span class='Number'>3</span> <span class='Function'>⥊</span><span class='Modifier2'>⟜</span><span class='Number'>0</span><span class='Modifier2'>⊸</span><span class='Function'>«</span> <span class='Value'>i</span> <span class='Comment'># Alternate left shift
</span>⟨ 1 1 0 1 1 0 0 0 ⟩
</pre>
-<p>With a number in big-endian format, a right shift might be logical, shifting in zeros, or arithmetic, shifting in copies of the highest-order bit (for little-endian numbers, this applies to left shift rather than right ones). The two kinds of shift can be performed with similar code, using <code><span class='Number'>0</span></code> or <code><span class='Function'>⊏</span><span class='Value'>𝕩</span></code> for the inserted cell.</p>
+<p>With a number in big-endian format, a right shift might be logical, shifting in zeros, or arithmetic, shifting in copies of the highest-order bit (for little-endian numbers, this applies to left shifts rather than right ones). The two kinds of shift can be performed with similar code, using <code><span class='Number'>0</span></code> or <code><span class='Function'>⊏</span><span class='Value'>𝕩</span></code> for the inserted cell.</p>
<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=MyDipYrin5ww4oq4wrsgaSAgICAjIExvZ2ljYWwgcmlnaHQgc2hpZnQKCjMgKOKliuKfnOKKj8K74oqiKSBpICAjIEFyaXRobWV0aWMgcmlnaHQgc2hpZnQ=">↗️</a><pre> <span class='Number'>3</span> <span class='Function'>⥊</span><span class='Modifier2'>⟜</span><span class='Number'>0</span><span class='Modifier2'>⊸</span><span class='Function'>»</span> <span class='Value'>i</span> <span class='Comment'># Logical right shift
</span>⟨ 0 0 0 1 0 0 1 1 ⟩