Re: strings: sequence-of-integer ... list of chunks

2002-02-02 Thread Dave Storrs
On Thu, 31 Jan 2002, Bryan C. Warnock wrote: print There's a letter in here!\n if (substr($pi, 0, 200) =~ /[a-z]/); *shrug* I actually did think of that when I first proposed this; doesn't substr make a fresh copy of the string? (I honestly don't know.) What happens if you take a

Idea: JIT support for pbc2c

2002-02-02 Thread Simon Cozens
Would it be good, bad, or indifferent to have pbc2c able to emit asm sections where appropriate? How difficult would it be? -- I never thought I'd say this, but you're getting very strange. Thank God: I thought it was everybody else. - J-P Stacey

386 JIT broken

2002-02-02 Thread Mattia Barbon
I'm sorry if this is a known bug. my.pasm ( useless, just a contrived example ): set I1, 12 FOO: if I1, FOO BAR: if I1, BAR if I1, FOO end assembly: 0x816bda8: push %ebp 0x816bda9: mov%esp,%ebp 0x816bdab: int3 0x816bdac: movl

Parrot FAQ

2002-02-02 Thread Ask Bjoern Hansen
I have added Adam's Parrot FAQ to www.parrotcode.org. It's being loaded from cvs.perl.org every hour, so just checkin updates to cvs there. I do, $Faq =~ s!.*BODY.*?(.*)/BODY.*!$1!s; $Faq =~ s!href=http://www.panix.com/~ziggy/parrot.html!href=/faq/!g; on it to fix it up, so when changing

Re: Parrot FAQ

2002-02-02 Thread Bryan C. Warnock
On Saturday 02 February 2002 08:53, Ask Bjoern Hansen wrote: I have added Adam's Parrot FAQ to www.parrotcode.org. It's being loaded from cvs.perl.org every hour, so just checkin updates to cvs there. I do, $Faq =~ s!.*BODY.*?(.*)/BODY.*!$1!s; $Faq =~

Re: Parrot FAQ

2002-02-02 Thread Bryan C. Warnock
On Saturday 02 February 2002 09:37, Bryan C. Warnock wrote: Disregard previous. I forgot to turn off word wrap. Index: ParrotFAQ.htm === RCS file: /home/perlcvs/parrot/docs/ParrotFAQ.htm,v retrieving revision 1.1 diff -u -r1.1

RE: parrot rx engine

2002-02-02 Thread Jeff 'japhy' Pinyan
On Jan 31, Hong Zhang said: But as you say, case folding is expensive. And with this approach you are going to case-fold every string that is matched against an rx that has some part of it that is case-insensitive. That is correct in general. But regex compiler can be smarter than that. For

Re: Parrot FAQ

2002-02-02 Thread Ask Bjoern Hansen
On Sat, 2 Feb 2002, Bryan C. Warnock wrote: On Saturday 02 February 2002 08:53, Ask Bjoern Hansen wrote: I have added Adam's Parrot FAQ to www.parrotcode.org. It's being loaded from cvs.perl.org every hour, so just checkin updates to cvs there. I do, $Faq =~

Re: ARM JIT (just about)

2002-02-02 Thread Daniel Grunblatt
On Fri, 1 Feb 2002, Nicholas Clark wrote: On Fri, Feb 01, 2002 at 01:32:13AM +, Nicholas Clark wrote: This just about implements a jit for ARM. It doesn't actually do any ops in assembler yet, except for end. It's names on the basis that it's for v3 or This is where I give up on the

Re: ARM JIT (just about)

2002-02-02 Thread Nicholas Clark
On Sat, Feb 02, 2002 at 05:40:30PM -0300, Daniel Grunblatt wrote: On Fri, 1 Feb 2002, Nicholas Clark wrote: On Fri, Feb 01, 2002 at 01:32:13AM +, Nicholas Clark wrote: Either way, I found I was fighting the current jit which expects (at worst) to be able to split a 32 bit

Re: [pythonesque] vtable ideas

2002-02-02 Thread Alex Gough
On Sun, 3 Feb 2002, Angel Faus wrote: I. Missing methods in parrot: The are many vtable methods in python not present in parrot. Some of the ones I would expect to really be needed are: * divmod# integer division * power * absolute * invert * compare Yes, we are