Message from discussion
Python style multiline strings for JSTalk?
Received: by 10.150.73.3 with SMTP id v3mr6722637yba.16.1281048361199;
Thu, 05 Aug 2010 15:46:01 -0700 (PDT)
X-BeenThere: jstalk-dev@googlegroups.com
Received: by 10.150.69.26 with SMTP id r26ls1297591yba.5.p; Thu, 05 Aug 2010
15:46:00 -0700 (PDT)
Received: by 10.150.202.9 with SMTP id z9mr6862747ybf.1.1281048360537;
Thu, 05 Aug 2010 15:46:00 -0700 (PDT)
Received: by 10.229.247.130 with SMTP id mc2mr350540qcb.6.1281036834054;
Thu, 05 Aug 2010 12:33:54 -0700 (PDT)
Received: by 10.229.247.130 with SMTP id mc2mr350539qcb.6.1281036833981;
Thu, 05 Aug 2010 12:33:53 -0700 (PDT)
Return-Path: <michael.mccrac...@gmail.com>
Received: from mail-qy0-f180.google.com (mail-qy0-f180.google.com [209.85.216.180])
by gmr-mx.google.com with ESMTP id k17si278295qcs.12.2010.08.05.12.33.52;
Thu, 05 Aug 2010 12:33:52 -0700 (PDT)
Received-SPF: pass (google.com: domain of michael.mccrac...@gmail.com designates 209.85.216.180 as permitted sender) client-ip=209.85.216.180;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of michael.mccrac...@gmail.com designates 209.85.216.180 as permitted sender) smtp.mail=michael.mccrac...@gmail.com; dkim=pass (test mode) header...@gmail.com
Received: by mail-qy0-f180.google.com with SMTP id 31so3460962qyk.4
for <jstalk-dev@googlegroups.com>; Thu, 05 Aug 2010 12:33:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=domainkey-signature:received:mime-version:received:in-reply-to
:references:from:date:message-id:subject:to:content-type;
bh=38zTXygsl9N9RNXFuSrLFzCkgE9gRtNag7KPTGy9LC4=;
b=Z/HZwYerB3DMEmQ09+EhTxirR6CUHiWtdNYfHvXYg/cIp6chSu/b0ZKG16D0A6gc1b
kZDi54VFNzGA2cCA5xmXlBieLhY2IL1OkRZSFtfUViVKs5VXIEpOI6j8zAeFfZoPmMej
r2/DxDQh8Aox0McIMQ+vbGIcHfNEUXiAQSjyA=
DomainKey-Signature: a=rsa-sha1; c=nofws;
d=gmail.com; s=gamma;
h=mime-version:in-reply-to:references:from:date:message-id:subject:to
:content-type;
b=bEGZk9MP9WdX2Hhi+bv+FFrXH4T/5aqZIt10Cxzdzwfm3MJzs9k94u/6ij02OPgEhk
gI/4bVG87KjNJA/vk/pJUSUD4u0VbKLnzcz8ekXohb3ymUl+FzyskyABLRt7M6n4Cvw6
z1bTMaFiYGlGRk1k/ye78OPG8vNpS7+TwNDpQ=
Received: by 10.229.233.195 with SMTP id jz3mr3435531qcb.207.1281036832206;
Thu, 05 Aug 2010 12:33:52 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.229.64.205 with HTTP; Thu, 5 Aug 2010 12:33:32 -0700 (PDT)
In-Reply-To: <861551BF-A7C0-4130-BA1F-AE1E622FF...@gmail.com>
References: <9F339066-F963-4965-8C9D-098B1DBEE...@flyingmeat.com>
<1EFCF6BF-3165-4B3E-824F-1C253A11A...@gmail.com> <37BB5DB9-A127-40F9-A3AB-2C0326AD8...@flyingmeat.com>
<861551BF-A7C0-4130-BA1F-AE1E622FF...@gmail.com>
From: Michael McCracken <michael.mccrac...@gmail.com>
Date: Thu, 5 Aug 2010 14:33:32 -0500
Message-ID: <AANLkTi=gifOOSAi=1+cBoOwe=wB-ddYpvO9QRX-G+...@mail.gmail.com>
Subject: Re: Python style multiline strings for JSTalk?
To: jstalk-dev@googlegroups.com
Content-Type: multipart/alternative; boundary=0016364d320753f06d048d18a17e
--0016364d320753f06d048d18a17e
Content-Type: text/plain; charset=ISO-8859-1
Gus, I like the new syntax, but I like python, so keep that in mind.
I guess javascript doesn't really have a true multiline string?
I laughed when I saw this first email because I was thinking of suggesting a
multiline string constant when I saw your earlier CI code sample...
Does your new code allow a single quote " inside the multiline like Python
does?
If so, that answers Patrick's question.
Cheers,
-mike
On Thu, Aug 5, 2010 at 2:28 PM, Patrick Geiller <parman...@gmail.com> wrote:
> > No CR symbol, but it is grey like in a string:
> > http://gusmueller.com/trash/ea432be6-1ece-441d-8b0c-0c4058e673e9.png
>
> Ha, nice. Although the three """ look a bit heavy. Since you're already
> transforming @"...." to ObjC strings, why not factor the multilines in that
> syntax ? (Or use another character prefix)
>
> -Patrick
>
> --
> You received this message because you are subscribed to the Google Groups
> "JSTalk Dev" group.
> To post to this group, send email to jstalk-dev@googlegroups.com.
> To unsubscribe from this group, send email to
> jstalk-dev+unsubscribe@googlegroups.com<jstalk-dev%2Bunsubscribe@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/jstalk-dev?hl=en.
>
>
--0016364d320753f06d048d18a17e
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Gus, I like the new syntax, but I like python, so keep that in mind.<div>I =
guess javascript doesn't really have a true multiline string?</div><div=
><br></div><div>I laughed when I saw this first email because I was thinkin=
g of suggesting a multiline string constant when I saw your earlier CI code=
sample...</div>
<div><br></div><div>Does your new code allow a single quote " inside t=
he multiline like Python does?</div><div>If so, that answers Patrick's =
question.</div><div><br></div><div>Cheers,</div><div>-mike<br><br><div clas=
s=3D"gmail_quote">
On Thu, Aug 5, 2010 at 2:28 PM, Patrick Geiller <span dir=3D"ltr"><<a hr=
ef=3D"mailto:parman...@gmail.com">parman...@gmail.com</a>></span> wrote:=
<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-lef=
t:1px #ccc solid;padding-left:1ex;">
<div class=3D"im">> No CR symbol, but it is grey like in a string:<br>
> <a href=3D"http://gusmueller.com/trash/ea432be6-1ece-441d-8b0c-0c4058e=
673e9.png" target=3D"_blank">http://gusmueller.com/trash/ea432be6-1ece-441d=
-8b0c-0c4058e673e9.png</a><br>
<br>
</div>Ha, nice. Although the three """ look a bit heavy. Sin=
ce you're already transforming @"...." to ObjC strings, why n=
ot factor the multilines in that syntax ? (Or use another character prefix)=
<br>
<font color=3D"#888888"><br>
-Patrick<br>
</font><div><div></div><div class=3D"h5"><br>
--<br>
You received this message because you are subscribed to the Google Groups &=
quot;JSTalk Dev" group.<br>
To post to this group, send email to <a href=3D"mailto:jstalk-dev@googlegro=
ups.com">jstalk-dev@googlegroups.com</a>.<br>
To unsubscribe from this group, send email to <a href=3D"mailto:jstalk-dev%=
2Bunsubscribe@googlegroups.com">jstalk-dev+unsubscribe@googlegroups.com</a>=
.<br>
For more options, visit this group at <a href=3D"http://groups.google.com/g=
roup/jstalk-dev?hl=3Den" target=3D"_blank">http://groups.google.com/group/j=
stalk-dev?hl=3Den</a>.<br>
<br>
</div></div></blockquote></div><br></div>
--0016364d320753f06d048d18a17e--