diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2014-02-24 08:03:59 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2014-02-24 19:17:30 -0800 |
commit | 501453a261771e2874bd065a78772e987616b14c (patch) | |
tree | 569029b676c1df641959e14528a0d28303593f5e /txr.1 | |
parent | fd795adb279719bf77a7a6333b1e97500c454964 (diff) | |
download | txr-501453a261771e2874bd065a78772e987616b14c.tar.gz txr-501453a261771e2874bd065a78772e987616b14c.tar.bz2 txr-501453a261771e2874bd065a78772e987616b14c.zip |
* parser.l: Support octal and binary numbers.
* txr.1: Documented.
* genvim.txr, txr.vim: Updated.
Diffstat (limited to 'txr.1')
-rw-r--r-- | txr.1 | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1152,6 +1152,15 @@ and the upper or lower case letters A through F: #xFF ;; 255 #x-ABC ;; -2748 +Similarly, octal numbers are supported with the prefix #o followed by +octal digits: + + #b777 ;; 511 + +and binary numbers can be written with a #b prefix: + + #b1110 ;; 14 + 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 |