[Scheme-reports] Symbol escapes - clarification Shiro Kawai (09 Jan 2012 13:17 UTC)
Re: [Scheme-reports] Symbol escapes - clarification John Cowan (09 Jan 2012 16:12 UTC)
Re: [Scheme-reports] Symbol escapes - clarification Peter Bex (09 Jan 2012 18:22 UTC)
Re: [Scheme-reports] Symbol escapes - clarification John Cowan (09 Jan 2012 19:52 UTC)
Re: [Scheme-reports] Symbol escapes - clarification Peter Bex (09 Jan 2012 19:59 UTC)
Re: [Scheme-reports] Symbol escapes - clarification John Cowan (10 Jan 2012 01:52 UTC)
Re: [Scheme-reports] Symbol escapes - clarification Alaric Snell-Pym (10 Jan 2012 10:36 UTC)
Re: [Scheme-reports] Symbol escapes - clarification Jussi Piitulainen (10 Jan 2012 10:54 UTC)
Re: [Scheme-reports] Symbol escapes - clarification Peter Bex (10 Jan 2012 11:14 UTC)
Re: [Scheme-reports] Symbol escapes - clarification Alaric Snell-Pym (10 Jan 2012 11:24 UTC)
Re: [Scheme-reports] Symbol escapes - clarification John Cowan (11 Mar 2012 20:05 UTC)
Re: [Scheme-reports] Symbol escapes - clarification Alaric Snell-Pym (10 Jan 2012 11:15 UTC)

Re: [Scheme-reports] Symbol escapes - clarification John Cowan 09 Jan 2012 19:51 UTC

Peter Bex scripsit:

> In "bare" symbols I'd expect anything but s-expression delimiters
> (spaces, parens, semicolons and possibly single quotes, commas and
> backticks) to be allowed but no "special interpretation" of composite
> characters.  This keeps the reader simple; just consume characters
> until you find an s-expression metacharacter.

No Scheme in my list allows " within an identifier.  I haven't tested
the other special lexical-syntax characters, but I expect all of them
except # will be treated similarly.

> I think I've argued this point before, but it would be more consistent
> to allow \ to escape the | so that || acts exactly analogously to ""
> in strings, where backslashes escape the delimiter.
>
> This is simpler, more regular and allows implementation to use the same
> routine for reading strings and symbols (with the delimiter as parameter).

Ticket #324 filed.

--
If you understand,                      John Cowan
   things are just as they are;         http://www.ccil.org/~cowan
if you do not understand,               cowan@ccil.org
   things are just as they are.

_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports