aboutsummaryrefslogtreecommitdiff
path: root/docs/implementation/vm.html
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2022-06-13 13:20:34 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2022-06-13 13:20:34 -0400
commit0d6c26b9aa607ff14e14e6488bace207e324022a (patch)
tree08c8900cc47d2b3aafa41dc37f96b36452584829 /docs/implementation/vm.html
parentdcbb72306821e0856c32944a54ea93902ef2949f (diff)
Highlight [] as list brackets, like ⟨⟩
Diffstat (limited to 'docs/implementation/vm.html')
-rw-r--r--docs/implementation/vm.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/implementation/vm.html b/docs/implementation/vm.html
index ba96ac12..7a0093db 100644
--- a/docs/implementation/vm.html
+++ b/docs/implementation/vm.html
@@ -43,7 +43,7 @@
<p>The starting index refers to the position in bytecode where execution starts in order to evaluate the block. Different bodies will always have the same set of special names, but the variables they define are unrelated, so of course they can have different counts. The given number of variables includes special names, but list of names and export mask don't.</p>
<p>The program's symbol list is included in the tokenization information <code><span class='Value'>t</span></code>: it is <code><span class='Number'>0</span><span class='Function'>⊑</span><span class='Number'>2</span><span class='Function'>⊑</span><span class='Value'>t</span></code>. Since the entire program (the source code passed in one compiler call) uses this list, namespace field accesses can be performed with indices alone within a program. The symbol list is needed for cross-program access, for example if <code><span class='Function'>•BQN</span></code> returns a namespace.</p>
<h3 id="instructions"><a class="header" href="#instructions">Instructions</a></h3>
-<p>The following instructions are defined (those without names are tentatively reserved only). The ones emitted by the self-hosted BQN compiler are marked in the &quot;used&quot; column. Only those marked &quot;X&quot; are needed to support the compiler and self-hosted runtime. &quot;NS&quot; indicates instructions used only in programs with namespaces, &quot;HE&quot; is for headers <code><span class='Head'>:</span></code> or predicates <code><span class='Head'>?</span></code>, and &quot;HR&quot; is for high-rank array notation <code><span class='Value'>[]</span></code>.</p>
+<p>The following instructions are defined (those without names are tentatively reserved only). The ones emitted by the self-hosted BQN compiler are marked in the &quot;used&quot; column. Only those marked &quot;X&quot; are needed to support the compiler and self-hosted runtime. &quot;NS&quot; indicates instructions used only in programs with namespaces, &quot;HE&quot; is for headers <code><span class='Head'>:</span></code> or predicates <code><span class='Head'>?</span></code>, and &quot;HR&quot; is for high-rank array notation <code><span class='Bracket'>[]</span></code>.</p>
<table>
<thead>
<tr>
@@ -134,7 +134,7 @@
<td align="center">HR</td>
<td align="right"></td>
<td align="left"></td>
-<td>Merge top of stack (for <code><span class='Value'>[]</span></code>)</td>
+<td>Merge top of stack (for <code><span class='Bracket'>[]</span></code>)</td>
</tr>
<tr>
<td align="right">10</td>