diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-05-15 21:58:45 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-05-15 21:58:45 -0400 |
| commit | ade2f9fbb72bc960a053b6aebf6287977b099090 (patch) | |
| tree | b9f9cd62807991ffb537d406c00b6f77b60750bf /doc | |
| parent | 8a64b4b7a1a721b0d8034195ba718aed6992241e (diff) | |
Fill in some missing full documentation links from help
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/expression.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/expression.md b/doc/expression.md index 95355ced..754775ea 100644 --- a/doc/expression.md +++ b/doc/expression.md @@ -23,6 +23,10 @@ In the table, `?` marks an optional left argument. If there isn't a value in tha If you're comfortable reading [BNF](https://en.wikipedia.org/wiki/Backus%E2%80%93Naur_form) and want to understand things in more detail than described below, you might check the [grammar specification](../spec/grammar.md) as well. +## Parentheses + +As in most programming languages, parentheses `()` are for grouping. The code inside a balanced set of parentheses is a single expression, which produces one value to be used by the expression that contains it—for example, in `(2×3)+4`, `2×3` is a subexpression evaluating to `6`, so that larger expression is equivalent to `6+4`. The syntactic role of a set of parentheses is also the same as that of the expression inside. + ## Syntactic role *This issue is approached from a different angle in [Context free grammar](context.md).* |
