eady be case-folded for speed.
>
> Hm, is that going to work ? What about a rx like /^a(?i:b)C/ where the
> case insensitivity only applies to part of the pattern ?
Or worse, in /^a(b)c/i, where you want to capture the original character,
not the case-folded version?
--
P
le methods have to be defined? If the latter, where
do we stop?
> >In particular, I was wondering about shift/unshift, push/pop on the
> >PerlArray PMC. Am I missing something obvious?
>
> Ah, those. In that case you use the vtable methods I've forgotten. :)
Will these all map t
hat +%hash will return the number of elements. It
should be safe to assume that +@array does the same.
--
Peter Haworth [EMAIL PROTECTED]
"If you are going to have delusions, you may as well have really good ones"
-- Marcus Cole, B5
# error
Bytecode iteration means that this just ends up calling the normal scalar op,
and stuffing the result into an array.
Looks like I'm in favour of bytecode iteration for hyperoperators after all.
--
Peter Haworth [EMAIL PROTECTED]
I is for indent, which rarely
user defined operator;
it could actually want one scalar and one array operand. Maybe we should
have multiple carets to denote hyper-hyper-operators if that's what the
user wants:
@a = @b ^^* @c;
If hyperoperators get transformed into loops behind the scenes, this
shouldn't be too hard to implement.
--
Peter Haworth [EMAIL PROTECTED]
Override self destruct? (y/n@^%i@&$#
NO CARRIER
ature), or split if they don't.
--
Peter Haworth [EMAIL PROTECTED]
Warning! Your Operating System is out of date!
It can be replaced by a more memory abusive Operating System.
Please contact your System Vendor for details.
On Fri, 10 Jan 2003 11:49:14 -0500, Dan Sugalski wrote:
> At 1:37 PM + 1/10/03, Peter Haworth wrote:
> >On Thu, 9 Jan 2003 16:40:20 -0500, Dan Sugalski wrote:
> >> #10 We do MI, but we don't instantiate a class' attributes multiple
> >>times if its i
he method has been redefined in the meantime. We shouldn't
prevent something useful just because it's not universally applicable.
--
Peter Haworth [EMAIL PROTECTED]
"I can talk on this stuff for hours when given insufficient discouragement."
-- Dan Sugalski
nt the base class method to be called, just because parrot
does things in a peculiar order. Well, I know it's the same order that perl5
does things, but it's still peculiar.
--
Peter Haworth [EMAIL PROTECTED]
"I'm converting my data to 64-bit signed times, sto
eezing and DOD, or
two freezes).
Bear in mind that I have never used threads and can't remember how they work
in parrot, so this may be an irrelevant question.
--
Peter Haworth [EMAIL PROTECTED]
"You're not going to watch the eclipse in yesterday's underpants?"
sh itself to take
nearly as much space as the frozen structure; a GC run in the middle of
freezing should only be a problem if you run out of *unreclaimable* memory.
--
Peter Haworth [EMAIL PROTECTED]
"Nothing in the definition of the word `word' says
that a word has to be in a dictionary to be called one."
-- Anu Garg
mbedded applications or systems) If we make it so freezing
> is not a guaranteed possibility at destroy time then this can't happen and
> it lessens the utility of the system some.
>
> We can, if we choose, loosen the restriction later if sufficient reason is
> presented. Can
more complex than a native type is inherently
recursive. Either you use up call stack space recursing over the PMCs, or
you need an explicitly manage a stack/queue of PMCs not yet serialised.
Have I missed some wonder of modern computing, or just something so obvious
I can't see it?
--
On Fri, 24 Oct 2003 17:33:17 +0100, Peter Haworth wrote:
> [stuff he didn't mean to send]
Sorry. Looks like I hit Send instead of Cancel.
--
Peter Haworth [EMAIL PROTECTED]
"this system is slightly less secure than putting your IP address and
root password in big le
erl5? We can obviously
invent suitable syntax for perl6, so that it can cope with arbitrarily named
packages, but we don't have that luxury with most of the other languages we
want to support.
Then the question becomes, "What about namespace clashes?", which Tim has
already addres
te
values, this isn't thread safe (please excuse my lack of PASM syntax
knowledge):
classoffset Ioff, Pobj, Sclass
# Some other thread calls addattribute on Pobj's class
getattribute Pattr,Pobj,Ioff
# Now we have the value of the wrong attribute in Pattr
--
Peter Haworth
16 matches
Mail list logo