quasi-literal strawman

Mike Samuel mikesamuel at gmail.com
Fri Dec 18 14:29:59 PST 2009


2009/12/17 Brendan Eich <brendan at mozilla.com>:
> On Dec 17, 2009, at 8:15 PM, Mike Samuel wrote:
>
>> That's the case right now, except that to escape a backtick one does
>> $\`  instead of \`.
>
> How about just $` instead?

The idea was to have raw strings *and* a way to include arbitrary
codepoints without having to put non-ascii text in a file.
So $\EscapeSequence is interpreted as the CV of the EscapeSequence.

The sequence $` does not have a meaning right now though so that could
be done either in-addition to or instead of $\ style escapes.
Though, the sequence $\$` encodes the two character string "$`".


> /be
>


More information about the es-discuss mailing list