diff options
Diffstat (limited to 'docs/spec')
| -rw-r--r-- | docs/spec/evaluate.html | 5 | ||||
| -rw-r--r-- | docs/spec/grammar.html | 5 | ||||
| -rw-r--r-- | docs/spec/index.html | 5 | ||||
| -rw-r--r-- | docs/spec/literal.html | 5 | ||||
| -rw-r--r-- | docs/spec/scope.html | 5 | ||||
| -rw-r--r-- | docs/spec/token.html | 5 | ||||
| -rw-r--r-- | docs/spec/types.html | 5 |
7 files changed, 28 insertions, 7 deletions
diff --git a/docs/spec/evaluate.html b/docs/spec/evaluate.html index 38fecd93..132473e6 100644 --- a/docs/spec/evaluate.html +++ b/docs/spec/evaluate.html @@ -1,4 +1,7 @@ -<head><link href="../style.css" rel="stylesheet"/></head> +<head> + <link href="../favicon.ico" rel="shortcut icon" type="image/x-icon"/> + <link href="../style.css" rel="stylesheet"/> +</head> <div class="nav"><a href="https://github.com/mlochbaum/BQN">BQN</a></div> <h1 id="specification-bqn-evaluation">Specification: BQN evaluation</h1> <p>This page describes the semantics of the code constructs whose grammar is given in <a href="grammar.html">grammar.md</a>. The formation rules there are not named, and here they are identified by either the name of the term or by copying the rule entirely if there are several alternative productions.</p> diff --git a/docs/spec/grammar.html b/docs/spec/grammar.html index f6bf3810..3042b762 100644 --- a/docs/spec/grammar.html +++ b/docs/spec/grammar.html @@ -1,4 +1,7 @@ -<head><link href="../style.css" rel="stylesheet"/></head> +<head> + <link href="../favicon.ico" rel="shortcut icon" type="image/x-icon"/> + <link href="../style.css" rel="stylesheet"/> +</head> <div class="nav"><a href="https://github.com/mlochbaum/BQN">BQN</a></div> <h1 id="specification-bqn-grammar">Specification: BQN grammar</h1> <p>BQN's grammar is given below. Terms are defined in a <a href="https://en.wikipedia.org/wiki/Backus%E2%80%93Naur_form">BNF</a> variant. However, handling special names properly is possible but difficult in BNF, so they are explained in text along with the braced block grammar.</p> diff --git a/docs/spec/index.html b/docs/spec/index.html index 44308925..46c71938 100644 --- a/docs/spec/index.html +++ b/docs/spec/index.html @@ -1,4 +1,7 @@ -<head><link href="../style.css" rel="stylesheet"/></head> +<head> + <link href="../favicon.ico" rel="shortcut icon" type="image/x-icon"/> + <link href="../style.css" rel="stylesheet"/> +</head> <div class="nav"><a href="https://github.com/mlochbaum/BQN">BQN</a></div> <h1 id="bqn-specification">BQN specification</h1> <p>This directory gives a (currently incomplete) specification for BQN. The specification differs from the <a href="../doc/index.html">documentation</a> in that its purpose is only to describe the exact details of BQN's operation in the most quickly accessible way, rather than to explain the core ideas of BQN functionality and how it might be used. Since it is easier to specify than to document, the specification is currently more complete than the documentation; for example, it includes nearly all primitives.</p> diff --git a/docs/spec/literal.html b/docs/spec/literal.html index 928e64fc..bef2a1ec 100644 --- a/docs/spec/literal.html +++ b/docs/spec/literal.html @@ -1,4 +1,7 @@ -<head><link href="../style.css" rel="stylesheet"/></head> +<head> + <link href="../favicon.ico" rel="shortcut icon" type="image/x-icon"/> + <link href="../style.css" rel="stylesheet"/> +</head> <div class="nav"><a href="https://github.com/mlochbaum/BQN">BQN</a></div> <h1 id="specification-bqn-literal-notation">Specification: BQN literal notation</h1> <p>A <em>literal</em> is a single <a href="token.html">token</a> that indicates a fixed character, number, or array. While literals indicate values of a data type, <a href="primitive.html">primitives</a> indicate values of an operation type: function, 1-modifier, or 2-modifier.</p> diff --git a/docs/spec/scope.html b/docs/spec/scope.html index 22a05d0e..6e67de02 100644 --- a/docs/spec/scope.html +++ b/docs/spec/scope.html @@ -1,4 +1,7 @@ -<head><link href="../style.css" rel="stylesheet"/></head> +<head> + <link href="../favicon.ico" rel="shortcut icon" type="image/x-icon"/> + <link href="../style.css" rel="stylesheet"/> +</head> <div class="nav"><a href="https://github.com/mlochbaum/BQN">BQN</a></div> <h1 id="specification-bqn-variable-scoping">Specification: BQN variable scoping</h1> <p>BQN uses lexical scoping for variables, where scopes correspond roughly to blocks, or pairs of curly braces separated by semicolons. At the top level in a scope, new variables are visible only after they are defined, but in the scopes it contains, all variables defined in that scope are visible. This system is specified more precisely below.</p> diff --git a/docs/spec/token.html b/docs/spec/token.html index 3fcfbe6d..34ecbcd8 100644 --- a/docs/spec/token.html +++ b/docs/spec/token.html @@ -1,4 +1,7 @@ -<head><link href="../style.css" rel="stylesheet"/></head> +<head> + <link href="../favicon.ico" rel="shortcut icon" type="image/x-icon"/> + <link href="../style.css" rel="stylesheet"/> +</head> <div class="nav"><a href="https://github.com/mlochbaum/BQN">BQN</a></div> <h1 id="specification-bqn-token-formation">Specification: BQN token formation</h1> <p>This page describes BQN's token formation rules (token formation is also called scanning). Most tokens in BQN are a single character long, but quoted characters and strings, identifiers, and numbers can consist of multiple characters, and comments, spaces, and tabs are discarded during token formation.</p> diff --git a/docs/spec/types.html b/docs/spec/types.html index d3f71050..3a505fad 100644 --- a/docs/spec/types.html +++ b/docs/spec/types.html @@ -1,4 +1,7 @@ -<head><link href="../style.css" rel="stylesheet"/></head> +<head> + <link href="../favicon.ico" rel="shortcut icon" type="image/x-icon"/> + <link href="../style.css" rel="stylesheet"/> +</head> <div class="nav"><a href="https://github.com/mlochbaum/BQN">BQN</a></div> <h1 id="specification-bqn-types">Specification: BQN types</h1> <p>BQN programs manipulate data of six types:</p> |
