Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

String plan

4 views
Skip to first unread message

Dan Sugalski

unread,
Feb 26, 2003, 12:52:37 PM2/26/03
to perl6-i...@perl.org
Okay, here's the plan for the string rework.

All the string functions we have now should keep their names and
signatures. They do reasonable things, and that's just fine. What we
need is shadow functions that do the same thing, only get passed in
the destination string. Or, rather, we need to rename the current
functions and change the signature to take a destination string, and
add in wrapper functions with the current names that do a string_new
and pass that in to the real function.

Once we do that, we need to think about how to note that a string op
should reuse the destination register. I'm half-tempted to postpend a
R to the name, but that's a bit nasty.
--
Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
d...@sidhe.org have teddy bears and even
teddy bears get drunk

0 new messages