aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/syntax.md13
1 files changed, 9 insertions, 4 deletions
diff --git a/doc/syntax.md b/doc/syntax.md
index aa62fb6..fcb30a0 100644
--- a/doc/syntax.md
+++ b/doc/syntax.md
@@ -18,10 +18,15 @@ other_function_name
An expression is either of these:
- Integer literal: `0`, `1`, `3245`
-- String literal: `"hello, world"`, `""`, ```"this is
-a multiline
-string literal
-"```
+- String literal: `"hello, world"`, `""`,
+
+```
+"this is
+a multiline
+string literal
+"
+```
+
- Argument number: `$0`, `$1`, `$5`
- Function reference: `&function_name`
- Function call: `function_name(args)` or just `function_name`, where args is a comma-separated list of expressions.