diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2018-11-11 19:22:04 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2018-11-11 19:22:04 -0800 |
commit | cbbc5ef781ae63626a3d8775ec3d45384fd2c1e4 (patch) | |
tree | 440616a71c970b2be2c67494d9dae64037b7fe1b | |
parent | 15971f5ec4628a7049ee84ad632386a2835fdb8d (diff) | |
download | txr-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.1 | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -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. |