In the file src/read0.sch, you have listed a grammar for strings:
; <string> --> " <string element>* "
; <string element> --> <any character other than " or \ or line ending>
; | <line ending>
; | \a | \b | \t | \n | \v | \f | \r
; | \" | \\
; | \<line ending>
; | <inline hex escape>
; <line ending> --> <linefeed>
; | <carriage return>
; | <carriage return> <linefeed>
; | <next line>
; | <carriage return> <next line>
; | <line separator>
; <inline hex escape> --> \x <hex scalar value>;
which is different from the one in R6RS in this \<line ending>
production.
The R6RS grammar is:
<string> → " <string element>* "
<string element> → <any character other than " or \>
| \a | \b | \t | \n | \v | \f | \r
| \" | \\
| \<intraline whitespace><line ending>
<intraline whitespace>
| <inline hex escape>
<intraline whitespace> → <character tabulation>
| <any character whose category is Zs>
Did I miss an errata somewhere?
Aziz,,,
_______________________________________________
r6rs-discuss mailing list
[email protected]
http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss