[squeak-dev] Re: [vwnc] Does anyone have a "new" string literal?

Colin Putney colin at wiresong.com
Fri Feb 1 18:44:20 UTC 2013


On Fri, Feb 1, 2013 at 10:28 AM, Eliot Miranda <eliot.miranda at gmail.com>wrote:


> David Leibs has been pushing a well-thought-through facility he calls (and
> other systems name) "quasi-quote".  Here, a string literal contains escape
> sequences, a little like printf, that allow one to substitute values.
>  Dave's syntax uses square brackets to escape into Smalltalk.
>

That's certainly a useful construct, but I don't think it addresses Terry's
problem. He wants a string literal that can include $' and CR without
escaping. Something like HEREDOC or Python's triple-double-quote string
literals.

Colin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20130201/c2442f14/attachment.htm


More information about the Squeak-dev mailing list