aboutsummaryrefslogtreecommitdiff
path: root/docs/doc/syntax.html
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2021-03-03 22:20:43 -0500
committerMarshall Lochbaum <mwlochbaum@gmail.com>2021-03-03 22:20:43 -0500
commitd34d752220f645b253c722bd39e479452ed36e41 (patch)
tree0d0509876713864ed6a9765eb4ee1a64799827fc /docs/doc/syntax.html
parent6dd5088519453bcad5f367b3c6dd3cfeb0e9cd5c (diff)
Remove extensions documentation: too vague and uncertain to be useful
Diffstat (limited to 'docs/doc/syntax.html')
-rw-r--r--docs/doc/syntax.html1
1 files changed, 0 insertions, 1 deletions
diff --git a/docs/doc/syntax.html b/docs/doc/syntax.html
index a2eb77b3..679e2a55 100644
--- a/docs/doc/syntax.html
+++ b/docs/doc/syntax.html
@@ -165,7 +165,6 @@
<p>The characters <code><span class='Separator'>⋄</span></code> and <code><span class='Separator'>,</span></code> and newline are completely interchangeable and are used to separate expressions. An expression might be an element in a list or a line in a function. Empty sections—those that consist only of whitespace—are ignored. This means that any number of separators can be used between expressions, and that leading and trailing separators are also allowed. The expressions are evaluated in text order: left to right and top to bottom.</p>
<h3 id="list-notation">List notation</h3>
<p>Lists (1-dimensional arrays) are enclosed in angle brackets <code><span class='Bracket'>⟨⟩</span></code>, with the results of the expressions in between being the list's elements. Lists of two elements or more can also be written with the ligature character <code><span class='Ligature'>‿</span></code>. This character has higher binding strength than any part of an expression. If one of the elements is a compound expression, then it will need to be enclosed in parentheses.</p>
-<p>If added, <a href="extensions.html#sets-and-dictionaries">sets and dictionaries</a> would also use a list-like notation.</p>
<h3 id="blocks">Blocks</h3>
<p><em><a href="block.html">Full documentation</a></em></p>
<p>Blocks are written with curly braces <code><span class='Brace'>{}</span></code> and can be used to group expressions or define functions and modifiers. The contents are simply a sequence of expressions, where each is evaluated and the result of the last is returned in order to evaluate the block. This result can have any value, and its syntactic role in the calling context is determined by the normal rules: functions return subjects and modifiers return functions. Blocks have lexical scope.</p>