Re: Arrays, lists, referencing

2003-02-14 Thread Luke Palmer
> Date: Fri, 14 Feb 2003 12:38:59 -0800 > From: David Storrs <[EMAIL PROTECTED]> > > Some random musings, for what they're worth... > > 1) The fact that we've had this long thread about arrays and shows >that they are confusing. How could we change the >functionality/eliminate the differ

[perl #21033] [PATCH] Macro support for imcc

2003-02-14 Thread Jürgen
# New Ticket Created by Jürgen Bömmels # Please include the string: [perl #21033] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt2/Ticket/Display.html?id=21033 > Hello, I just implemented macro expansion in imcc. This brings us one step closer to

Re: YARL - yet another run loop: CSwitch

2003-02-14 Thread Leopold Toetsch
Dan Sugalski wrote: At 5:36 PM +0100 2/8/03, Leopold Toetsch wrote: [ threaded JIT/prederef ] Ouch, yes. So does JIT. So JIT/prederefed code must be separated for threads. Yup. This was a decision made a long time ago, back when Daniel started the first JIT stuff. Not necessarily so

Re: This week's Perl 6 Summary

2003-02-14 Thread Dan Sugalski
At 11:40 PM +0100 2/14/03, Leopold Toetsch wrote: Dan Sugalski wrote: The challenge system is x86 Linux with GCC, FWIW. Nice ;-) And not even my choice, but who am I to argue, right? :) -- Dan --"it's like this"---

Re: [perl #20786] PATCH: bf compiler

2003-02-14 Thread Dan Sugalski
At 12:49 PM + 2/8/03, Leon Brocard (via RT) wrote: Attached is a bf compiler for languages/bf/ and a patch to the makefile to make and test it. The actual compiler is a bit slow on large bf programs - the culprit being concat. Oh well, at least they run fast once compiled. Applied, thanks.

Re: This week's Perl 6 Summary

2003-02-14 Thread Leopold Toetsch
Dan Sugalski wrote: The challenge system is x86 Linux with GCC, FWIW. Nice ;-) leo

Re: how to build imcc?

2003-02-14 Thread Dan Sugalski
At 3:50 PM +0100 2/13/03, Juergen Boemmels wrote: imcc is the only Makefile which does these kind of inplace changes. This perl -pi seems to fail in your case and only deletes the newly generated Makefile. As these are only warning fixes just comment out these 3 system lines. Why is this Makefile

Re: [PASM] - read from stdin

2003-02-14 Thread Dan Sugalski
At 2:11 PM -0500 2/10/03, [EMAIL PROTECTED] wrote: What is the recommended mechanism for reading data from stdin for a PASM application. The readline operation is considered a hack and I would rather implement the correct mechanism for reading data into stdin than use such a reviled operation.

Re: YARL - yet another run loop: CSwitch

2003-02-14 Thread Dan Sugalski
At 5:36 PM +0100 2/8/03, Leopold Toetsch wrote: Jason Gloudon wrote: On Fri, Feb 07, 2003 at 05:49:35PM +0100, Leopold Toetsch wrote: I don't know yet, how multi threading will be done. But when multiple interpreters share the ->code data member (as newinterp/runinterp) do, then they will us

Re: This week's Perl 6 Summary

2003-02-14 Thread Dan Sugalski
At 9:02 PM + 2/14/03, Nicholas Clark wrote: On Fri, Feb 14, 2003 at 03:45:20PM -0500, Dan Sugalski wrote: The challenge system is x86 Linux with GCC, FWIW. I have this nagging feeling we'll be able to muster something that'll run on it... :) Are we free to use whichever runops core we fe

Re: Change to the calling convention, and other fallout from last week's perl 6 meeting

2003-02-14 Thread Leopold Toetsch
Dan Sugalski wrote: *) The vtable split needs to be defined and implemented. I'd like some macros to access the vtable entries themselves, since there may be a number of structural changes and I don't want to have to keep redoing the code every time some element shifts from one spot to anothe

Re: This week's Perl 6 Summary

2003-02-14 Thread Nicholas Clark
On Fri, Feb 14, 2003 at 03:45:20PM -0500, Dan Sugalski wrote: > The challenge system is x86 Linux with GCC, FWIW. I have this nagging > feeling we'll be able to muster something that'll run on it... :) Are we free to use whichever runops core we feel like? Nicholas Clark

Re: Objects, methods, attributes, properties, and other related frobnitzes

2003-02-14 Thread Dan Sugalski
At 2:46 PM -0500 2/10/03, attriel wrote: >>Just to confuse things more, there is a question I have reguarding multi-methods and inheritance. Consider class A defines foo() as a multi-method with 3 different signatures If class B then sub-classes A and defines a method foo() does it 1 overri

Re: This week's Perl 6 Summary

2003-02-14 Thread Dan Sugalski
At 4:17 PM +0100 2/11/03, Leopold Toetsch wrote: [EMAIL PROTECTED] wrote: The 2004 Performance challenge Dan announced that he'd made a bet with Guido van Rossum that Parrot would be faster at executing a pure python benchmark You missed the pie as part of the penalty, though tha

Re: Arrays, lists, referencing

2003-02-14 Thread David Storrs
Some random musings, for what they're worth... 1) The fact that we've had this long thread about arrays and shows that they are confusing. How could we change the functionality/eliminate the differences so as to simplify things? 2) It seems that the functionality of lists is a proper subs

Re: Change to the calling convention, and other fallout from last week's perl 6 meeting

2003-02-14 Thread Dan Sugalski
At 1:09 PM -0500 2/14/03, [EMAIL PROTECTED] wrote: Dan -- *) There's going to be a bunch of named argument stuff that we should (though don't have to) put support in for. Perl 6 is going to make heavy use of them. I may be terminologically challenged here (if so, please forgive), but this s

Re: Change to the calling convention, and other fallout from last week's perl 6 meeting

2003-02-14 Thread gregor
Dan -- > *) There's going to be a bunch of named argument stuff that we should > (though don't have to) put support in for. Perl 6 is going to make > heavy use of them. I may be terminologically challenged here (if so, please forgive), but this sounds like passing a single pad as *the* argument

Re: Arrays, lists, referencing

2003-02-14 Thread Michael Lazzaro
On Wednesday, February 12, 2003, at 05:50 PM, Deborah Ariel Pickett wrote: All right, I'm prepared to buy that. Now how would it extend to hashes? A %hash in list context returns a list of its pairs (NOTE4) A %hash in scalar context returns a reference to itself (NOTE1) A %hash in numeric (sc

Change to the calling convention, and other fallout from last week's perl 6 meeting

2003-02-14 Thread Dan Sugalski
While most of what we discussed last week about perl 6 doesn't directly impact parrot, there are a few things that will. I'm pretty late as it is, so I figured I'd give a quick summary before digging through the pending p6i mail and dealing with these in depth. In order: *) We need to get Leo'

Re: YARL - yet another run loop: CSwitch

2003-02-14 Thread Leopold Toetsch
Jerome Vouillon wrote: [ prederef/JIT and threads ] I'm not sure this is the right think to do. If we force gcc to store in a machine register the address of the Parrot registers, it should generate some code which is just as fast as the prederefed one. For instance, the sub opcode would be

Re: YARL - yet another run loop: CSwitch

2003-02-14 Thread Jerome Vouillon
On Sat, Feb 08, 2003 at 05:36:58PM +0100, Leopold Toetsch wrote: > Jason Gloudon wrote: > >On Fri, Feb 07, 2003 at 05:49:35PM +0100, Leopold Toetsch wrote: > >>I don't know yet, how multi threading will be done. But when multiple > >>interpreters share the ->code data member (as newinterp/runinter

[CVS ci] cgp_jit

2003-02-14 Thread Leopold Toetsch
Ok, here is the hairy thing, discussed in the CGP thread. hange in core.ops This patch introduces the 1000th opcode, a asm("ret") for gcc/i386, a noop else. This opcode is referenced directly as #2, so it should better stay on the spot - and be documented :) Changes in jit.c: - The building of

Re: [CVS ci] CGP - CGoto Prederefed runloop

2003-02-14 Thread Leopold Toetsch
Nicholas Clark wrote: I'd suggest committing it, rather than sending it to the list. Ok, I'll do that after checking again on a second machine ... I think it would be better to write them into a design doc I'll include docs/dev/jit_i386.dev with has most of the gory details. Nicholas