diff options
Diffstat (limited to 'readme.md')
| -rw-r--r-- | readme.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8,7 +8,7 @@ a CR "document" is a sequence of ASCII characters. characters outside of the ran ## syntax a CR document consists of any number of sentences. a sentence in CR consists of a single expression. each expression in CR evaluates to a noun. -an expression consists of a literal noun (expressed as a sequence of alphebetic characters or if it is a number, numerical characters), a binary operation, or a unary operation. unary operators prefix the expression they operate upon. binary operators appear between the expressions they operate upon and are right-associative. parenthesis can be used to explicitly group expressions. +an expression consists of a literal noun (expressed as a sequence of alphebetic characters or if it is a number, numerical characters), a binary operation, or a unary operation. unary operators prefix the expression they operate upon and are higher precedence than binary operators. binary operators appear between the expressions they operate upon and are right-associative. parenthesis can be used to explicitly group expressions. "quotations" are a special type of literal noun which refer to statements or sequences of text themselves. there are two types of quotations. a bracket quotation is surrounded in square brackets, and must contain within it a syntactically valid CR document. a normal quotation is enclosed in double quotes and may contain anything of any syntactic validity or language. however, a normal quotation must be properly escaped. the only escape sequences available in a normal quotation are `\\` and `\"`. |
