Quoting constructs, take two

1 view
Skip to first unread message

Roie Marianer

unread,
Apr 17, 2005, 1:42:52 PM4/17/05
to perl6-c...@perl.org
Attached patch, because the svn repository is down.

1. Remove old qq code (it's all in the q code now)
2. Make <<>> work
3. Regular expressions are parsed as qq//, but with no backslash protection at
all. (Should it be partial backslash protection for \qq and \<delim>?)
4. Hash subscripts using <> or <<>> are parsed with the same code as general
quotations. This means interpolation, etc. is done just like q:w or qq:ww.

Note: For now :ww acts just like :w, i.e. no protection. This is because I
don't know what the semantics should be. (I asked on p6l, but the jury is
still in deliberations. Or maybe they declared a mistrial while I wasn't
looking).
--
-Roie
v2sw6+7CPhw5ln5pr4/6$ck2ma8+9u7/8LSw2l6Fi2e2+8t4TNDSb8/4Aen4+7g5Za22p7/8
[ http://www.hackerkey.com ]

qww.patch

Autrijus Tang

unread,
Apr 17, 2005, 2:04:35 PM4/17/05
to Roie Marianer, perl6-c...@perl.org
On Sun, Apr 17, 2005 at 08:42:52PM +0300, Roie Marianer wrote:
> Attached patch, because the svn repository is down.

Thanks, applied to svn.perl.org and will mergeback tomorrow to openfoundry.
Great work!

Enjoy,
/Autrijus/

Reply all
Reply to author
Forward
0 new messages