[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: updated srfi-109 - cleaning up discussion items

This page is part of the web mail archives of SRFI 109 from before July 7th, 2015. The new archives for SRFI 109 contain all messages, not just those from before July 7th, 2015.

On 02/25/2013 08:14 PM, John Cowan wrote:
Per Bothner scripsit:
I.e. "&" followed by a single character followed by ";"
is equivalent to that literal character.  Is this convenient
enough to make up for adding yet more weird syntax?


It occurs to me that the only regular "printable" characters
it would be useful to escape this way are '{', '}', and '&'.
Since we allow unescaped '{' and '}' as long as they are properly
balanced, these would rarely need to be escaped.

However, '&' remains.  We can support this one
by the traditional mechanism of doubling:

&{Smith && Wesson}  ==> "Smith & Wesson"

as well as:

&{Smith & Wesson}
	--Per Bothner
per@xxxxxxxxxxx   http://per.bothner.com/