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 s

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 $0x

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!.*(.*).*!$1!s; $Faq =~ s!href="http://www.panix.com/~ziggy/parrot.html!href="/faq/!g; on it to "fix it up", so when changing stuff, kee

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!.*(.*).*!$1!s; > $Faq =~ s!href="http://www.panix.com/~ziggy/pa

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 Parr

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 tha

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 =~ s!.

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 o

Re: Idea: JIT support for pbc2c

2002-02-02 Thread Daniel Grunblatt
Well I thought about generating executables directly, still didn't even thought about how, but it's on my TODOSOMEDAY list. Daniel Grunblatt. On Sat, 2 Feb 2002, Simon Cozens wrote: > Would it be good, bad, or indifferent to have pbc2c able to emit > "asm" sections where appropriate? How diffi

Re: 386 JIT broken

2002-02-02 Thread Daniel Grunblatt
Yes, it's a known bug, the problem is with the output of objdump. We need to write a tool to assemble. Daniel Grunblatt. On Sat, 2 Feb 2002, Mattia Barbon wrote: > I'm sorry if this is a known bug. > my.pasm ( useless, just a contrived example ): > set I1, 12 > FOO: > if I1, FO

how to JIT ?

2002-02-02 Thread raptor
hi, how to compile JITed code ... !! Is there some list of tweaks, switches that can be used to speed up the Parrot? Particulary for people like me that are not very close to C programming :") thanx alot raptor [EMAIL PROTECTED]

Re: how to JIT ?

2002-02-02 Thread Dan Sugalski
On 2 Feb 2002, raptor wrote: > hi, > > how to compile JITed code ... !! Just add the -k switch when you invoke test_parrot. > Is there some list of tweaks, switches that can be used to speed up the > Parrot? Particulary for people like me that are not very close to C > programming :") That's

Re: how to JIT ?

2002-02-02 Thread Dan Sugalski
On Sat, 2 Feb 2002, Dan Sugalski wrote: > On 2 Feb 2002, raptor wrote: > > > hi, > > > > how to compile JITed code ... !! > > Just add the -k switch when you invoke test_parrot. Argh. Typo. Invoke the JIT with -j. Dan

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

[pythonesque] vtable ideas

2002-02-02 Thread Angel Faus
Hi all- I have been checking the Python source code (something I am sure all of you already have done :-) and some differences on the design surprised me so much that I decided to come and make some questions. I guess that most of you know well the python source code, so please apologize the len

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, w