summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-08-02 06:53:27 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-08-02 06:53:27 -0700
commitc42efc1274590112ca79eaa5174419270e45c6e8 (patch)
treecbca4a19be4524f565821c491de85e609acccb53
parentf928e5ca648990aa63624828376f18462cae9eed (diff)
downloadtxr-c42efc1274590112ca79eaa5174419270e45c6e8.tar.gz
txr-c42efc1274590112ca79eaa5174419270e45c6e8.tar.bz2
txr-c42efc1274590112ca79eaa5174419270e45c6e8.zip
doc: cross reference different #b.
* txr.1: Note under #b binary number syntax that #b is also used for buffer literals, and vice versa.
-rw-r--r--txr.113
1 files changed, 13 insertions, 0 deletions
diff --git a/txr.1 b/txr.1
index b9a12800..1641f2a8 100644
--- a/txr.1
+++ b/txr.1
@@ -3061,6 +3061,10 @@ prefix:
#b1110 ;; 14
.cble
+Note that the
+.code #b
+prefix is also used for buffer literals.
+
A floating-point constant is marked by the inclusion of a decimal point, the
exponential "e notation", or both. It is an optional sign, followed
by a mantissa consisting of digits, a decimal point, more digits, and then an
@@ -11408,6 +11412,15 @@ function, and other means such as the
.code ffi-get
function.
+Note that the
+.code #b
+prefix is also used for binary numbers. In that syntax, it
+is followed by an optional sign, and then a mixture of one
+or more of the digits
+.code 0
+or
+.codn 1 .
+
.coNP The @ .. notation
In \*(TL, there is a special "dotdot" notation consisting of a pair of dots.
This can be written between successive atoms or compound expressions, and is a