summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2018-11-11 19:22:04 -0800
committerKaz Kylheku <kaz@kylheku.com>2018-11-11 19:22:04 -0800
commitcbbc5ef781ae63626a3d8775ec3d45384fd2c1e4 (patch)
tree440616a71c970b2be2c67494d9dae64037b7fe1b
parent15971f5ec4628a7049ee84ad632386a2835fdb8d (diff)
downloadtxr-cbbc5ef781ae63626a3d8775ec3d45384fd2c1e4.tar.gz
txr-cbbc5ef781ae63626a3d8775ec3d45384fd2c1e4.tar.bz2
txr-cbbc5ef781ae63626a3d8775ec3d45384fd2c1e4.zip
doc: corrections under Referencing Dot
* txr.1: Don't start sentence with And. Revise and correct description of associativity of referencing dot.
-rw-r--r--txr.115
1 files changed, 9 insertions, 6 deletions
diff --git a/txr.1 b/txr.1
index 31124879..22a1913b 100644
--- a/txr.1
+++ b/txr.1
@@ -11053,14 +11053,17 @@ That is to say, this dot operator constructs a
.code qref
expression out of its left and right arguments. If the right argument
of the dot is already a qref expression (whether produced by another instance
-of the dot operator, or expressed directly) it is merged. And the qref dot
-operator is right-to-left associative, so that
+of the dot operator, or expressed directly) it is merged. This requires
+the qref dot operator to be right-to-left associative, so that
.code a.b.c
-first produces
-.code "(qref b c)"
-via the right dot, and then
+works by first translating
+.code b.c
+to
+.codn "(qref b c)" ,
+and then adjoining
.code a
-is adjoined into the syntax via the right dot.
+to produce
+.codn "(qref a b c)" .
Integer tokens cannot be involved in this syntax, because they
form floating-point constants when juxtaposed with a dot.