From a3af974ab4e079f9000c4c34cd5ff468986ca609 Mon Sep 17 00:00:00 2001 From: Kai Stevenson Date: Tue, 28 Feb 2023 22:16:22 -0800 Subject: changed syntax to be a little more normal --- doc/precedent.1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc') 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 -- cgit v1.3.1