[r6rs-discuss] Linefeed and Line Endings

From: Michael Sperber <sperber>
Date: Thu, 28 Jun 2007 07:36:00 +0200

Alan Watson <alan at alan-watson.org> writes:

> The response to Formal Comment #46 says:
>
> > The R6RS grammar is meant to apply to a decoded stream. That is,
> > specific bytes that represent a newline some stream are meant to be
> > converted to the LF character in the character stream that is parsed
> > as a program.
>
> I cannot find this in section 4 of the latest draft. Is it somewhere else?
>
> Related to this, shouldn't "\<line ending>" in strings be interpreted in
> the same way as "\<linefeed>"?

I'm confused: The grammar says something about \<line ending>, not about
\<linefeed>. The section on "Line endings" has:

>> In a string literal, a line ending not preceded by a \ stands for a
>> linefeed character, which is the standard line-ending character of
>> Scheme.

-- 
Cheers =8-} Mike
Friede, V?lkerverst?ndigung und ?berhaupt blabla
Received on Thu Jun 28 2007 - 01:36:00 UTC

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:01 UTC