From 94eaf509fc7d3a25232589524e89478f4f999254 Mon Sep 17 00:00:00 2001 From: Lassi Kortela Date: Mon, 17 Aug 2020 10:32:36 +0300 Subject: [PATCH] Add even more #! syntax --- hash-syntax.scm | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/hash-syntax.scm b/hash-syntax.scm index 4c49c88..ffee1c5 100644 --- a/hash-syntax.scm +++ b/hash-syntax.scm @@ -1,5 +1,5 @@ (id "#!") -(description "Identifier follows [R6RS+]; Unix script [SRFI 22]") +(description "Identifier follows [R6RS+]; Unix script [SRFI 22]; #! ... !# comment [Guile]") (id "#\"") (description "Interpolated string [Gauche]") @@ -58,6 +58,9 @@ (id "#d") (description "Decimal number [R2RS+]") +(id "#d") +(description "n-dimensional vector [s7]") + (id "#e") (description "Exact number [R2RS+]") @@ -68,17 +71,26 @@ (description "Boolean false [R7RS]") (id "#i") -(description "Inexact number [R2RS+]") +(description "Inexact number [R2RS+]; n-dimensional integer vector [s7]") (id "#o") (description "Octal integer [R2RS+]") +(id "#r") +(description "n-dimensional real (i.e. float) vector [s7]") + +(id "#r") +(description "Number in radix n [Chez Scheme]") + (id "#t") (description "Boolean true [R3RS+]") (id "#true") (description "Boolean true [R7RS]") +(id "u(...)") +(description "n-dimensional bytevector [s7]") + (id "u8(...)") (description "Bytevector [R7RS]")