aboutsummaryrefslogtreecommitdiff
path: root/docs/doc/glossary.html
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2021-08-11 17:21:31 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2021-08-11 17:25:04 -0400
commit2afb23928e1984d475cc460e1672e8f6fa0e4dbe (patch)
treeebd2cc514294d30b6fa4b36c2ee638326f06ef72 /docs/doc/glossary.html
parenteac61ca02074c218667754d5f4ef562e780bae85 (diff)
Allow clicking on header to get fragment link
Diffstat (limited to 'docs/doc/glossary.html')
-rw-r--r--docs/doc/glossary.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/docs/doc/glossary.html b/docs/doc/glossary.html
index b24ce012..8aeb819a 100644
--- a/docs/doc/glossary.html
+++ b/docs/doc/glossary.html
@@ -4,9 +4,9 @@
<title>BQN glossary</title>
</head>
<div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">doc</a></div>
-<h1 id="bqn-glossary">BQN glossary</h1>
+<h1 id="bqn-glossary"><a class="header" href="#bqn-glossary">BQN glossary</a></h1>
<p>Below are short, and sometimes vague, definitions of terms used to describe BQN code.</p>
-<h2 id="types">Types</h2>
+<h2 id="types"><a class="header" href="#types">Types</a></h2>
<ul>
<li><strong>Value</strong>: Something that can be stored in variables and manipulated by a BQN programmer.</li>
<li><a href="types.html"><strong>Type</strong></a>: One of seven possible kinds of value.</li>
@@ -37,7 +37,7 @@
<li><strong>Real number</strong> (more accurately, approximate doubly-extended real number): A number with no complex part.</li>
<li><strong>Complex number</strong>: A real number plus <em>i</em> (one of the square roots of -1) times another real number.</li>
</ul>
-<h2 id="roles">Roles</h2>
+<h2 id="roles"><a class="header" href="#roles">Roles</a></h2>
<ul>
<li><a href="context.html"><strong>Syntactic role</strong></a>: One of four possible types for an expression, which are determined by the expression itself and not outside context and describe how it interacts with other parts of the syntax.</li>
</ul>
@@ -48,7 +48,7 @@
<li><strong>1-modifier</strong>: Can be called on one subject or function.</li>
<li><strong>2-modifier</strong>: Can be called on two subjects or functions.</li>
</ul>
-<h2 id="arrays">Arrays</h2>
+<h2 id="arrays"><a class="header" href="#arrays">Arrays</a></h2>
<ul>
<li><strong>Array</strong>: A multidimensional collection of values.</li>
<li><strong>Element</strong>: One of the values contained in an array.</li>
@@ -77,7 +77,7 @@
<ul>
<li><a href="indices.html"><strong>Index</strong></a>: One of a variety of ways to select an element, cell, axis, or position along an axis of an array.</li>
</ul>
-<h2 id="operations">Operations</h2>
+<h2 id="operations"><a class="header" href="#operations">Operations</a></h2>
<ul>
<li><strong>Operation</strong>: A value that is called on inputs to perform computation and return a result or cause an error.</li>
<li><strong>Call</strong>: Submit inputs to an operation and receive any result.</li>
@@ -99,7 +99,7 @@
<li><strong>Error</strong>: A condition that stops compilation or execution.</li>
<li><strong>Inferred property</strong>: A property of a value that is derived by BQN based on constraints. If it cannot be derived then the value will not have the property.</li>
</ul>
-<h2 id="tokens">Tokens</h2>
+<h2 id="tokens"><a class="header" href="#tokens">Tokens</a></h2>
<ul>
<li><strong>Token formation</strong> or tokenization: Splitting source code into a sequence of tokens.</li>
<li><strong>Token</strong>: A name, literal, primitive, or other syntactic element.</li>
@@ -112,7 +112,7 @@
<li><strong>Character literal</strong>: A literal written with single quotes <code><span class='String'>''</span></code>, indicating a string.</li>
<li><strong>Null literal</strong>: The literal <code><span class='String'>@</span></code>, indicating the null character (code point 0).</li>
</ul>
-<h2 id="parsing">Parsing</h2>
+<h2 id="parsing"><a class="header" href="#parsing">Parsing</a></h2>
<ul>
<li><strong>Parsing</strong>: Analysis of the tokens of a program, which determines which actions will be taken to evaluate it.</li>
<li><a href="syntax.html#expressions"><strong>Expression</strong></a>: A piece of code that defines a (not necessarily constant) variable.</li>
@@ -121,7 +121,7 @@
<li><strong>Ligature</strong>: The character <code><span class='Ligature'>‿</span></code>.</li>
<li><a href="arrayrepr.html#brackets"><strong>List notation</strong></a>: The angle brackets <code><span class='Bracket'>⟨⟩</span></code> or ligatures used to indicate a list.</li>
</ul>
-<h2 id="assignment-and-scoping">Assignment and scoping</h2>
+<h2 id="assignment-and-scoping"><a class="header" href="#assignment-and-scoping">Assignment and scoping</a></h2>
<ul>
<li><a href="syntax.html#assignment"><strong>Assignment</strong></a>: An operation that sets a variable's value. Definition (<code><span class='Gets'>←</span></code>) or a change of definition (<code><span class='Gets'>↩</span></code>).</li>
<li><strong>Assignment arrow</strong>: <code><span class='Gets'>←</span></code> or <code><span class='Gets'>↩</span></code>, used to denote assignment.</li>
@@ -131,7 +131,7 @@
<li><strong>Scope</strong>: An environment where variables are defined and manipulated, which is created before evaluating a body.</li>
<li><strong>Identifier</strong>: An instance of a name in a program, with two identifiers considered the same if they correspond to the same definition.</li>
</ul>
-<h2 id="blocks">Blocks</h2>
+<h2 id="blocks"><a class="header" href="#blocks">Blocks</a></h2>
<ul>
<li><a href="block.html"><strong>Block</strong></a>: A syntactic element surrounded in curly braces <code><span class='Brace'>{}</span></code>, which encapsulates code.</li>
<li><strong>Immediate block</strong>: A block that is evaluated and returns a value immediately; it has a subject role.</li>