stm ready (was Re: More review of current stm branch code)

2006-08-15 Thread Chip Salzenberg
So, given the below, looks like we've got everything sewn up and the long-awaited day of the STM merge is upon us. Charles, care to do the honors? On Tue, Aug 15, 2006 at 06:31:38PM -0400, Charles Reiss wrote: > On 8/15/06, Chip Salzenberg <[EMAIL PROTECTED]> wrote: > >On Sat, Aug 12, 2006 at 08:

Re: === and array-refs

2006-08-15 Thread Darren Duncan
It seems to me that there is some confusion being given in this thread and the most recent parts of its predecessor (which can lead to FUD in the wrong hands), so I'll briefly try to clear it up, as I would like to think I understand the issues. At 2:51 PM -0600 8/15/06, David Green wrote: On

[PROPOSED PATCH] Add Parrot::Embed to Repository

2006-08-15 Thread chromatic
Here's a proposed patch that seems to work okay for me on Linux. It's not great or beautiful, mostly because of the Makefile hackery. It's a starting point though. I suspect Windows might complain. I don't have any particular attachment to any approach here, only that this get in the reposit

Re: More review of current stm branch code

2006-08-15 Thread Charles Reiss
On 8/15/06, Chip Salzenberg <[EMAIL PROTECTED]> wrote: On Sat, Aug 12, 2006 at 08:14:52PM -0400, Charles Reiss wrote: > I wrote: [snip] > >It also does not allow .pmc files to overide the default idea of > >whether a vtable method is read-only. > > This remains unresolved though I'm not certain

Re: ===, =:=, ~~, eq and == revisited (blame ajs!) -- Explained

2006-08-15 Thread David Green
On 8/14/06, Smylers wrote: David Green writes: Thanks for that. In summary, if I've understood you correctly, it's that: =:= two aliases to the same actual variable === one variable contains a copy of the other's actual contents eqv both contain contents which represent the same thing

=== and array-refs

2006-08-15 Thread David Green
On 8/14/06, Smylers wrote: David Green writes: I guess my problem is that [1,2] *feels* like it should === [1,2]. You can explain that there's this mutable object stuff going on, and I can follow that (sort of...), but it seems like an implementation detail leaking out. The currently defin

Register Allocator

2006-08-15 Thread Vishal Soni
Hi, I read the #parrotsketch log from today. I cannot join the IRC now. The Graph based Register allocation is good for statically compiled languages like C. The real value of Graph Based allocation comes when you have limited number of registers and have to spill some of the variables to memory.

Re: More review of current stm branch code

2006-08-15 Thread Chip Salzenberg
On Sat, Aug 12, 2006 at 08:14:52PM -0400, Charles Reiss wrote: > I wrote: > >The read-only variant generation currently does not handle NCI methods > >at all. There are number of implementation options; the best I can > >think of is to override findmethod (in the read-only type) to check > >for a p

Re: More review of current stm branch code

2006-08-15 Thread Chip Salzenberg
On Fri, Aug 11, 2006 at 04:38:59PM -0400, Charles Reiss wrote: > On 8/10/06, Chip Salzenberg <[EMAIL PROTECTED]> wrote: > > /* XXX is it okay to combine flatten/slurpy into one flag? */ > > > > The answer is "No": "flat" is an output flag, "slurpy_array" is an input > > flag, and there's no

Re: ===, =:=, ~~, eq and == revisited (blame ajs!) -- Explained

2006-08-15 Thread Dr.Ruud
David Green schreef: > === > ...is equality-of-contents, basically meaning that the things you're > comparing contain the same [...] values. How about strings; are normalized copies used with the === ? http://www.unicode.org/faq/normalization.html http://www.unicode.org/notes/tn5/ -- Affijn, R

[svn:perl6-synopsis] r10971 - doc/trunk/design/syn

2006-08-15 Thread larry
Author: larry Date: Tue Aug 15 08:52:46 2006 New Revision: 10971 Modified: doc/trunk/design/syn/S04.pod Log: Clarifications on C with bare expression. Modified: doc/trunk/design/syn/S04.pod == --- doc/trunk/design/sy

[svn:perl6-synopsis] r10970 - doc/trunk/design/syn

2006-08-15 Thread larry
Author: larry Date: Tue Aug 15 08:41:37 2006 New Revision: 10970 Modified: doc/trunk/design/syn/S02.pod Log: typo Modified: doc/trunk/design/syn/S02.pod == --- doc/trunk/design/syn/S02.pod(original) +++ doc/t

[svn:perl6-synopsis] r10969 - doc/trunk/design/syn

2006-08-15 Thread larry
Author: larry Date: Tue Aug 15 08:40:59 2006 New Revision: 10969 Modified: doc/trunk/design/syn/S02.pod Log: Explicitly outlawed \123 and the like. Modified: doc/trunk/design/syn/S02.pod == --- doc/trunk/design/syn/S

Re: ===, =:=, ~~, eq and == revisited (blame ajs!) -- Explained

2006-08-15 Thread Smylers
David Green writes: > On 8/13/06, Smylers wrote: > > > Please could the proponets of the various behaviours being discussed > > here share a few more concrete examples ... > > OK, Thanks for that. In summary, if I've understood you correctly, it's that: =:= two aliases to the same actual v

Re: ===, =:=, ~~, eq and == revisited (blame ajs!) -- Explained

2006-08-15 Thread Smylers
David Green writes: > I guess my problem is that [1,2] *feels* like it should === [1,2]. > You can explain that there's this mutable object stuff going on, and I > can follow that (sort of...), but it seems like an implementation > detail leaking out. The currently defined behaviour seems intuiti

rt problem

2006-08-15 Thread Amir E. Aharoni
Hello, Yesterday i sent my first patch to parrotbug {at} parrotcode.org according to the instructions in docs/submissions.pod . I wanted to check if it actually arrived anywhere, so i tried to look at rt.perl.org , created a bitcard account, and attempted to fetch some tickets, but i can see non

Re: designing a test suite for multiple implementations (tools thread)

2006-08-15 Thread Nicholas Clark
On Mon, Aug 14, 2006 at 07:12:06PM -0700, chromatic wrote: > PS - sbk30, please don't send me any more automated followup messages. Fix > your mailing software. I've found that our resident neighbourhood BOFHs have been very helpful at forcibly un-subscribing anyone anti-social enough to be se

[patch] do EXPR

2006-08-15 Thread Agent Zhang
Hello~ Here is a snippet from the Pugs test suite: { my $ret = eval 'do 42'; ok(!$ret, 'do EXPR should not work', :todo); # XXX or should it? Feels weird... } which motivated me to create the following patch for S04: Index: D:/projects/Perl6-Syn/S04.pod

Outlaw the "\ddd" notation

2006-08-15 Thread Agent Zhang
Hi, there~ Perl 5 uses the "\ddd" notation to index characters by octal numbers (e.g. \187 and \13). Now that Perl 6 has the shiny new \o and \o[] notations, we probably need to outlaw the legacy stuff explicitly in S02 since we have the assumption that everything not mentioned in the Synopses is