summaryrefslogtreecommitdiff
path: root/doc/precedent.1
diff options
context:
space:
mode:
authorKai Stevenson <kai@kaistevenson.com>2023-02-28 22:16:22 -0800
committerKai Stevenson <kai@kaistevenson.com>2023-02-28 22:16:22 -0800
commita3af974ab4e079f9000c4c34cd5ff468986ca609 (patch)
treea1a870b466fa36ed700cd0c37523d5dd0c9d5327 /doc/precedent.1
parent4af02258dbc1564e52a4ae9c75b3664384fcd89d (diff)
changed syntax to be a little more normal
Diffstat (limited to 'doc/precedent.1')
-rw-r--r--doc/precedent.110
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/precedent.1 b/doc/precedent.1
index 577fdb5..a974cf8 100644
--- a/doc/precedent.1
+++ b/doc/precedent.1
@@ -35,12 +35,12 @@ keys, and keys created with store(). A key may accept parameters, making it a fu
.SH SYNTAX
Spaces, tabs, newlines, and other forms of whitespace are ignored.
-A literal value is defined by its termination with a semicolon. The following
-are examples of literal values: [ 123; hello world; 9.81; ]. A key is defined by its
-termination with a pair of parentheses. The following are examples of key references:
-[ myVar() arg0() ]. A key reference may have any number of arguments, which may be
+A literal value is either a number or wrapped in quotation marks. The following
+are examples of literal values: [ 123, "hello world", 9.81 ]. A key without arguments
+is simply stated as a word. The following are examples of key references:
+[ myVar, arg0 ]. A key reference may have any number of arguments, which may be
literals or key references. The following are examples of key references with arguments:
-[ print(hello world;) print(myVar()) print(eq(1; 2;)) ].
+[ print("hello world"), print(myVar), print(eq(1, 2)) ].
.SH FUNCTIONS
\fBroot() OR ()\fP