Re: String Literals, take 1

2002-11-30 Thread Joseph Ryan
From: James Mastros [EMAIL PROTECTED] On 11/29/2002 7:40 PM, Joseph Ryan wrote: (*Note: Please reply to [EMAIL PROTECTED], as this is only a temporary email address) - References and Object stringification hasn't been defined. I belive it goes somthing like this: All objects define a

Re: Multiarray usage?

2002-11-30 Thread Jerome Quelin
On Vendredi 29 Novembre 2002 19:02, you wrote: Speaking of limitations, what can hold a multiarray? Only integers, only strings, only pmc, a mix of everything? Everything a list can hold (i.e. all above, but no mix), though it would need a new class, which takes an list_type initializer. And

Re: String Literals, take 1

2002-11-30 Thread Luke Palmer
From: Joseph Ryan [EMAIL PROTECTED] Date: Sat, 30 Nov 2002 08:08:10 + The default .AS_STRING for Strings is obvious. Int and Num stringify to a decimal number (using the e exponential form if it is shorter?). I hope not; if someone wants a number in e form, they should specify it

Re: Multiarray usage?

2002-11-30 Thread Leopold Toetsch
Jerome Quelin wrote: On Vendredi 29 Novembre 2002 19:02, you wrote: This makes me think... A PerlArray can hold PMCs... So I can have a PerlArray of PerlArrays: This is always ok. set P10, P2[1] set I0, P10[0] or directly: set I0, P2[1;0] It seems to work, and it is

Re: [perl #18762] nci.t hates me

2002-11-30 Thread Leopold Toetsch
Alex Gough (via RT) wrote: # New Ticket Created by Alex Gough # Please include the string: [perl #18762] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt2/Ticket/Display.html?id=18762 ... so using math.so is probably not the way to test the

[PASM] about pushi and popi

2002-11-30 Thread Jerome Quelin
Hi, When I want to save all the integer registers, I'm using pushi, restoring them later with popi. When I'm doing a pushi, the old values of the registers are still present, but I'm wondering wether I can rely on this behavior, or if it's accidental and may be removed with another

[perl #18773] [PATCH] introducing debug features in befunge

2002-11-30 Thread via RT
# New Ticket Created by Jerome Quelin # Please include the string: [perl #18773] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt2/Ticket/Display.html?id=18773 Hi, The following patch introduces a new file in the befunge interpreter that

Re: String Literals, take 1

2002-11-30 Thread James Mastros
On 11/29/2002 7:40 PM, Joseph Ryan wrote: - References and Object stringification hasn't been defined. I belive it goes somthing like this: All objects define a .AS_STRING method. This method is called to stringify the object. The builtin types have builtin .AS_STRINGs, the primitive types

Re: [perl #18773] [PATCH] introducing debug features in befunge

2002-11-30 Thread Nicholas Clark
On Sat, Nov 30, 2002 at 10:56:50AM +, Jerome Quelin wrote: The following patch introduces a new file in the befunge interpreter that will hold all the debug-related material. Thanks applied. Soon, we'll have a fully-functionnal debugger within the befunge interpreter with breakpoints,

Re: [PASM] about pushi and popi

2002-11-30 Thread Nicholas Clark
On Sat, Nov 30, 2002 at 11:15:28AM +0100, Jerome Quelin wrote: When I want to save all the integer registers, I'm using pushi, restoring them later with popi. When I'm doing a pushi, the old values of the registers are still present, but I'm wondering wether I can rely on this behavior, or

[perl #18780] [PATCH] Replace 'perl' with 'parrot'

2002-11-30 Thread via RT
# New Ticket Created by Alin Iacob # Please include the string: [perl #18780] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt2/Ticket/Display.html?id=18780 As I read the PDDs I notice that some of them say 'perl' where it should really say

[perl #18782] [PTACH] long double support i386/linux

2002-11-30 Thread via RT
# New Ticket Created by Leopold Toetsch # Please include the string: [perl #18782] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt2/Ticket/Display.html?id=18782 All tests including running JIT show: Failed Test Stat Wstat Total Fail

Re: String Literals, take 1

2002-11-30 Thread Arcadi Shehter
issue : * space is allowed (OR NOT ???) between qq ( and friends ) and following delimiter qq ( ... ) ; qq ) ... ( ; qq ' ... ' ; ??? qq | ... | ; qq # ... # ; ??? qq : ... : ; ??? ( to distinguish from usual subs , where this should be subqq

Re: String Literals, take 1

2002-11-30 Thread Michael Lazzaro
James Mastros wrote: A set of braces is a special op that evaluates into the list of words contained, using whitespace as the delimeter. It is similar to qw() from perl5, and can be thought of as roughly equivalent to: C STRING.split(' ') I thought it was named foo bar baz or «foo bar

Re: C#/Parrot Status

2002-11-30 Thread Nicholas Clark
On Mon, Nov 25, 2002 at 05:40:36PM +0100, Leopold Toetsch wrote: Nicholas Clark wrote: Is there any speed advantage in truncating by casting via a C type [eg a = (int)(short) b] rather than and on a bitmask [eg a = b 0x] ? gcc uses MOVSX (movs{b,w}l), move byte/word with sign

Re: String Literals, take 1

2002-11-30 Thread Joseph Ryan
(* Note: Please reply to [EMAIL PROTECTED] *) : Arcadi Shehter [EMAIL PROTECTED] : Joseph Ryan [EMAIL PROTECTED] issue : * space is allowed (OR NOT ???) between qq ( and friends ) and following delimiter qq ( ... ) ; qq ) ... ( ; qq ' ... ' ; ??? qq | ... | ; These

Re: String Literals, take 1

2002-11-30 Thread Joseph Ryan
: Luke Palmer [EMAIL PROTECTED] : Joseph F. Ryan [EMAIL PROTECTED] Perhaps only first level references should stringify nicely, and inner references stringify perl5 style. I think that if Data::Dumper style stringification is wanted, then a C use Data::Dumper; shouldn't anger too many

Re: interesting idea...

2002-11-30 Thread Bryan Hundven
--- Ramesh Ananthakrishnan [EMAIL PROTECTED] wrote: beg pardon, but that seems to somehow relate to my idea of making Parrot sort of OPen Source VMWare. Cool. Otoh, I don't even have a clue how to do it, so does anybody have any ideas about this. cheers, Ramesh -ask Actually, the

Re: String Literals, take 1

2002-11-30 Thread Michael Lazzaro
Joseph Ryan wrote: That's the question of whether stringification will strictly be serializing, or whether that will be a method call and stringification should look pretty or be useful. I prefer the latter. Same. Can you define a good preferred useful? I find the current behavior of

Re: String Literals, take 1

2002-11-30 Thread Jonathan Scott Duff
On Sat, Nov 30, 2002 at 06:51:02PM -0800, Michael Lazzaro wrote: But the two uses are incompatible: by supporting one goal, we pretty much trash the other. By supporting the useful internal stuff, we are making it more difficult to use stringification for simple, common text I/O purposes. By

Re: String Literals, take 1

2002-11-30 Thread Luke Palmer
Date: Sat, 30 Nov 2002 18:51:02 -0800 From: Michael Lazzaro [EMAIL PROTECTED] Alternatively, there could perhaps be a marker such that prettyified is the default, but you can still get 'internal' stringification: print Hello, $personObj; # normal stringification print Person:

Re: String Literals, take 1

2002-11-30 Thread Bryan C. Warnock
On Sat, 2002-11-30 at 21:51, Michael Lazzaro wrote: Joseph Ryan wrote: That's the question of whether stringification will strictly be serializing, or whether that will be a method call and stringification should look pretty or be useful. I prefer the latter. Same. Can you define a

Re: String Literals, take 1

2002-11-30 Thread Jonathan Scott Duff
On Sat, Nov 30, 2002 at 12:40:28AM +, Joseph Ryan wrote: Anyways, here's a first draft of the string documentation ... I didn't see any mention of vstrings (e.g. tokens of the form v5.8.0. I also got the impression from a response Larry made to one of the emails in the thread on numbers

Re: String Literals, take 1

2002-11-30 Thread Joseph Ryan
(* Note: Please reply to [EMAIL PROTECTED] *) (* Don't reply to this hotmail address! I'm deleting it tomarrow! *) (* Fight the urge! *) : Jonathan Scott Duff [EMAIL PROTECTED] : Joseph Ryan [EMAIL PROTECTED] Anyways, here's a first draft of the string documentation ... I didn't see