[r6rs-discuss] Lexical Syntax

Alan Watson alan at alan-watson.org
Mon Nov 5 06:20:43 EST 2007


I have stumbled across a a couple of minor points in the lexical syntax.

First, the ultimate rule in <digit 10>

   <digit 10>+ . <suffix>

is redundant given the penultimate rule:

   <digit 10>+ . <digit 10>* <suffix>

This appears to be left over from eliminating #.

Second, it's a bit odd that the BNF of the lexical syntax in 4.2.1 
explicitly indicates that exponent markers, precision prefixes, radix 
prefixes, hex digits, and booleans are not case sensitive, but does not 
do so for i (in complex numbers), even though 4.2.8 states that "Case is 
not significant in external representations of number objects".

I don't think either of these are real problems, but they might be worth 
cleaning up in a future revision.

Regards,

Alan



More information about the r6rs-discuss mailing list