Re: An idea

2002-02-08 Thread David
Peter Hickman wrote: If we wrote a GUI library in parrot, a sort of Tkinter, and our widgets compiled down to parrot then we would have a consistent GUI library where widgets could be shared across languages and across platforms. How about wxWindows? http://www.wxwindows.org Check

Parrot is very (intentionally) broken

2002-02-08 Thread Simon Cozens
I've just committed some changes after which Parrot will not compile. This is quite deliberate. Basically, I'm trying to get the keyed stuff working the way we want, and that requires some painful changes to the source. The upshot is: All the vtable functions _index and index_s are dead;

Re: Parrot is very (intentionally) broken

2002-02-08 Thread Simon Cozens
Simon Cozens: I'm working on unbreaking it, patches welcome. Unfortunately, it seems the way that key.c works is currently a lot more broken than I suspected. :( This is going to take some time. The plan, such as it is, is that a KEY* structure is an index, rather than being an aggregate

Re: Parrot directory structure

2002-02-08 Thread Dave Mitchell
Simon Cozens [EMAIL PROTECTED] wrote: Melvin Smith: I agree with your config/ dir suggestion, but I'm not sure about moving everything else down into perl6/parrot subdirectory, Me neither. I don't see much point in it. I'm trying to nip the following in the bud, which is daunting for

Re: Parrot directory structure

2002-02-08 Thread Simon Cozens
Dave Mitchell: I'm trying to nip the following in the bud, which is daunting for someone trying to work out what's what for the first time. ls perl-current/ I see your point, but I don't think 'ls perl-current/src' is much better. :) If we're going to do anything I think we should separate

Re: Parrot directory structure

2002-02-08 Thread Dave Mitchell
Simon Cozens wrote: Dave Mitchell: I'm trying to nip the following in the bud, which is daunting for someone trying to work out what's what for the first time. ls perl-current/ I see your point, but I don't think 'ls perl-current/src' is much better. :) True, but the point is that

Re: Parrot is very (intentionally) broken

2002-02-08 Thread Gregor N. Purdy
Simon -- I was only involved in a small amount of 'key' discussion. FWIW, I would have thought the KEY_PAIR thingee was for (array) slice ranges, not multidimensional indexing... If the KEY* has one KEY_PAIR element which is numeric, you've got an index into an array; if it has one KEY_PAIR

Re: Perl6/Parrot status

2002-02-08 Thread Adam Turoff
On Thu, Feb 07, 2002 at 08:40:41PM -0500, Dan Sugalski wrote: [...] I'm also trying to get a regular, if I'm lucky every issue, Parrot/Perl 6 article in The Perl Review. Speaking on behalf of TPR, the only bottleneck here is providing a regular article/update on Parrot/Perl6 for each issue.

RE: Parrot Trooper

2002-02-08 Thread Melvin Smith
-Melvin Smith IBM :: Atlanta Innovation Center [EMAIL PROTECTED] :: 770-835-6984 Garrett Goebel

Re: Parrot is very (intentionally) broken

2002-02-08 Thread Simon Cozens
Gregor N. Purdy: I was only involved in a small amount of 'key' discussion. FWIW, I would have thought the KEY_PAIR thingee was for (array) slice ranges, not multidimensional indexing... Then it's doubly mis-named, because KEY_PAIR holds a single key, not a pair of anything, and KEY holds a

Re: Parrot directory structure

2002-02-08 Thread Nicholas Clark
On Fri, Feb 08, 2002 at 01:18:20PM +, Dave Mitchell wrote: Simon Cozens wrote: Dave Mitchell: I'm trying to nip the following in the bud, which is daunting for someone trying to work out what's what for the first time. ls perl-current/ I see your point, but I don't think

RE: Parrot Trooper

2002-02-08 Thread Wizard
Try this. It's might be too 1970's, though. Grant M. parrot.gif Description: GIF image

Re: Parrot is very (intentionally) broken

2002-02-08 Thread Simon Cozens
Larry Wall: I just think of multidimensionality as another list of dimension on top of the slices. Alternately, you can think of it as another dimension on each leaf that turns each scalar into a list. But the extra dimension has to sneak in there somewhere if we're to allow

RE: Parrot Trooper

2002-02-08 Thread Gregor N. Purdy
Melvin -- Then you can play on words like Ops, etc. Yeah. I'd like to have a Special Ops variant You can also play on core/corps, as long as you don't conflate them into corpse. Regards, -- Gregor /

Re: Parrot is very (intentionally) broken

2002-02-08 Thread Gregor N. Purdy
Larry -- Simon Cozens writes: : Gregor N. Purdy: : I was only involved in a small amount of 'key' discussion. FWIW, I : would have thought the KEY_PAIR thingee was for (array) slice ranges, : not multidimensional indexing... : : Then it's doubly mis-named, because KEY_PAIR holds a

Re: Parrot is very (intentionally) broken

2002-02-08 Thread Dan Sugalski
At 4:08 PM + 2/8/02, Simon Cozens wrote: Larry Wall: I just think of multidimensionality as another list of dimension on top of the slices. Alternately, you can think of it as another dimension on each leaf that turns each scalar into a list. But the extra dimension has to sneak in

Re: Parrot is very (intentionally) broken

2002-02-08 Thread Larry Wall
Gregor N. Purdy writes: : I think of slicing as a shortcut for map. : :foo[1,2,3] ===map { foo[$_] } (1,2,3) : : I think of multidimensionality as arrays-of-arrays: : :foo[1][2] : : As for combining the two, I guess that would be : :foo[1,2][3,4] =~= temp = map { foo[$_]

Re: Parrot is very (intentionally) broken

2002-02-08 Thread Simon Cozens
Dan Sugalski: Can't. Needs to be a linked list. Otherwise we can't nest data structures well. Thanks; I knew there had to be a reason, couldn't remember what it was. -- I'm a person, not a piece of property. Happily, I'm both! - Lionel and Stephen Harris.

Interesting ramifications of multidimensionality

2002-02-08 Thread Dan Sugalski
One of the cool ramifications of having real multidimensional arrays just hit me. We could do something like: my GD @array : size(200,200), colordepth(24), format('PNG'); and then treat @array as an image, with each element in the array representing a pixel. The stringified version of

Re: Parrot is very (intentionally) broken

2002-02-08 Thread Dan Sugalski
At 5:17 PM + 2/8/02, Simon Cozens wrote: Dan Sugalski: Can't. Needs to be a linked list. Otherwise we can't nest data structures well. Thanks; I knew there had to be a reason, couldn't remember what it was. Now all we need to do is figure out whether keys at the lowest levels will deal

Re: Parrot Trooper

2002-02-08 Thread John Siracusa
On 2/8/02 1:44 PM, Wizard wrote: Try this. It's might be too 1970's, though. Also too carcinogenic ;) -John

[PATCH] Stop win32 popping up dialogs on segfault

2002-02-08 Thread Mattia Barbon
The following patch adds a Parrot_nosegfault() function to win32.c; after it is called, a segmentation fault will print This process received a segmentation violation exception instead of popping up a dialog. I think it might be useful for tinderbox clients. Regards Mattia Index:

Re: Parrot Trooper

2002-02-08 Thread Christian Klauss
military style : http://www.gfxspace.com/parrot/parrot3.gif

Re: Parrot Trooper

2002-02-08 Thread Melvin Smith
Hey that one is nice! As for myself, that is the look I was thinking about. -Melvin Smith IBM :: Atlanta Innovation Center [EMAIL PROTECTED] :: 770-835-6984

Re: Parrot Trooper

2002-02-08 Thread Boris Tschirschwitz
Please, no military. -- Boris Tschirschwitz University of British Columbia Mathematics Department email: [EMAIL PROTECTED] On Fri, 8 Feb 2002, Christian Klauss wrote: military style : http://www.gfxspace.com/parrot/parrot3.gif

RE: [PATCH] Stop win32 popping up dialogs on segfault

2002-02-08 Thread Hong Zhang
The following patch adds a Parrot_nosegfault() function to win32.c; after it is called, a segmentation fault will print This process received a segmentation violation exception instead of popping up a dialog. I think it might be useful for tinderbox clients. Please notice, stdio is not

RE: [PATCH] Stop win32 popping up dialogs on segfault

2002-02-08 Thread Mattia Barbon
The following patch adds a Parrot_nosegfault() function to win32.c; after it is called, a segmentation fault will print This process received a segmentation violation exception instead of popping up a dialog. I think it might be useful for tinderbox clients. Please notice, stdio is

RE: [PATCH] Stop win32 popping up dialogs on segfault

2002-02-08 Thread Melvin Smith
At 10:15 PM 2/8/2002 +0100, Mattia Barbon wrote: The following patch adds a Parrot_nosegfault() function to win32.c; after it is called, a segmentation fault will print This process received a segmentation violation exception instead of popping up a dialog. I think it might be useful

RE: [PATCH] Stop win32 popping up dialogs on segfault

2002-02-08 Thread Mattia Barbon
FYI: On interp init I already grab the standard handles (io_win32.c) so you could reuse the value for stderr. It might make sense to make the low level handle values extern so other modules can use them. Let me know and I'll put a patch in for it. I don't know if it is a good idea to expose

RE: [PATCH] Stop win32 popping up dialogs on segfault

2002-02-08 Thread Melvin Smith
At 10:37 PM 2/8/2002 +0100, Mattia Barbon wrote: FYI: On interp init I already grab the standard handles (io_win32.c) so you could reuse the value for stderr. It might make sense to make the low level handle values extern so other modules can use them. Let me know and I'll put a patch in

Re: Parrot Trooper

2002-02-08 Thread Bryan C. Warnock
On Friday 08 February 2002 14:10, Boris Tschirschwitz wrote: Please, no military. Although I understand the objection (maybe not *your* objection, but that people do and will object), the phrase itself is a military reference, and it makes little sense to disregard that. I'm actually quite

Re: Parrot is very (intentionally) broken

2002-02-08 Thread Steve Fink
On Fri, Feb 08, 2002 at 02:08:54PM -0800, Larry Wall wrote: Dan Sugalski writes: : At 5:17 PM + 2/8/02, Simon Cozens wrote: : Dan Sugalski: : Can't. Needs to be a linked list. Otherwise we can't nest data structures : well. : : Thanks; I knew there had to be a reason, couldn't

Re: Parrot Trooper

2002-02-08 Thread Melvin Smith
At 11:26 PM 2/8/2002 +, Simon Cozens wrote: Bryan C. Warnock: Although I understand the objection Can I make another objection? This is a thread about what should be on T-shirts, which is taking place on a list about what should be in the Parrot source. If you want to contribute to what