variables inside an eval

2006-10-30 Thread Richard Hainsworth
If I have the following my $self = some text; my $nself = ~eval(q/self is $self/,:langperl5); then surely $nself should be self is some text. But it is not. $self is not set inside the eval in pugs. But say ~eval(q/self is $self/); yields self is some text Is this correct behaviour? If yes,

Re: [HOWTO] add a C file to get archived in libparrot.a

2006-10-30 Thread Karl Forner
On 10/25/06, Adam Thomason [EMAIL PROTECTED] wrote: Adding the file to the INTERP_O_FILES section in config/gen/makefiles/root.in and re-running Configure should do the trick. --AT Thanks a lot, it works ! Karl

[svn:parrot-pdd] r15053 - trunk/docs/pdds/clip

2006-10-30 Thread tewk
Author: tewk Date: Sun Oct 29 16:40:33 2006 New Revision: 15053 Modified: trunk/docs/pdds/clip/pdd15_objects.pod Log: [Ruby] Start to list Ruby's OO needs Modified: trunk/docs/pdds/clip/pdd15_objects.pod == ---

[perl #40616] [PATCH] Helping splint check further through the parrot source

2006-10-30 Thread Paul Cochrane
# New Ticket Created by Paul Cochrane # Please include the string: [perl #40616] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=40616 Hi, This patch enables splint (a lint variant) to check further through the

Re: variables inside an eval

2006-10-30 Thread Audrey Tang
在 Oct 29, 2006 4:34 PM 時,Richard Hainsworth 寫到: If I have the following my $self = some text; my $nself = ~eval(q/self is $self/,:langperl5); then surely $nself should be self is some text. But it is not. $self is not set inside the eval in pugs. The lexical pad is not yet shared with

Parrot Bug Summary

2006-10-30 Thread Parrot Bug Summary
Parrot Bug Summary http://rt.perl.org/rt3/NoAuth/parrot/Overview.html Generated at Mon Oct 30 14:15:01 2006 GMT --- * Numbers * New Issues * Overview of Open Issues * Ticket Status By Version * Requestors with

'make rsync' failing - required anyway?

2006-10-30 Thread Paul Cochrane
Hi all, I was having a dig through config/gen/makefiles/root.in recently and I came across the following: clip # Is this still working ? rsync : rsync -av cvs.perl.org::parrot-HEAD $(CUR_DIR) /clip and thought I'd check it out. Unfortunately, the make target doesn't work. Here's the

Re: how typish are roles

2006-10-30 Thread TSa
HaloO, Jonathan Lang wrote: Larry Wall wrote: But I'm still somewhat set against the notion of using logical ops to do set theory. (Even if you put parens around them.) Understandably so. Perhaps (u) and (n) would be better ASCII equivalents for the union and intersection operators...

Re: where constraints as roles (was Re: how typish are roles)

2006-10-30 Thread TSa
HaloO, Jonathan Lang wrote: At its core, a type is nothing more than a constraint on the objects that a given variable is allowed to handle; this would put Cwhere clauses at the center of the type system, with roles coming in a very close second due to the implicit use of .does() in the compact

Re: where constraints as roles (was Re: how typish are roles)

2006-10-30 Thread Jonathan Lang
TSa wrote: IOW, I fear this could only be put to work with two subset declarations subset ab of Str where /^a.*b$/; subset aabb of ab where /^aa.*bb$/; and the notion that the second subset by virtue of constraining the possible values further produces a more specific subtype for

[perl #40618] [TODO] Tcl - Missing channelId tests in t/cmd_puts.t

2006-10-30 Thread Paul Cochrane
# New Ticket Created by Paul Cochrane # Please include the string: [perl #40618] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=40618 channelId tests are currently missing from languages/tcl/t/cmd_puts.t This ticket

[perl #40619] [TODO] Tcl - need -regexp tests in t/cmd_switch.t

2006-10-30 Thread Paul Cochrane
# New Ticket Created by Paul Cochrane # Please include the string: [perl #40619] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=40619 The test file languages/tcl/t/cmd_switch.t needs tests of -regexp. This ticket is

[perl #40620] [TODO] Tcl - tests error wrongly in t/cmd_expr.t

2006-10-30 Thread Paul Cochrane
# New Ticket Created by Paul Cochrane # Please include the string: [perl #40620] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=40620 Within the Csimple binary ops - stringified integers section of the

Re: [perl #40620] [TODO] Tcl - tests error wrongly in t/cmd_expr.t

2006-10-30 Thread Paul Cochrane
This patch adds the RT ticket number to the TODO item in the file: languages/tcl/t/cmd_expr.t Paul tcl_cmd_expr_t.patch Description: Binary data

Re: [perl #40619] [TODO] Tcl - need -regexp tests in t/cmd_switch.t

2006-10-30 Thread Paul Cochrane
This patch adds the RT ticket number to the TODO item in languages/tcl/t/cmd_switch.t Paul tcl_cmd_switch_t.patch Description: Binary data

Re: beginner's question

2006-10-30 Thread Jonathan Scott Duff
On Mon, Oct 30, 2006 at 08:09:56AM -0800, Richard Liu wrote: I am new to the Perl language. As a university student, I want to use perl to build some codes to work as tracing and automatic analysing tool with my data file in Linux environment. Could you kindly teach me which IDE tools

Re: [perl #40618] [TODO] Tcl - Missing channelId tests in t/cmd_puts.t

2006-10-30 Thread Paul Cochrane
This patch marks the RT ticket number next to the TODO item in languages/tcl/t/cmd_puts.t Paul tcl_cmd_puts_t.patch Description: Binary data

beginner's question

2006-10-30 Thread Richard Liu
Hi, G'day! I am new to the Perl language. As a university student, I want to use perl to build some codes to work as tracing and automatic analysing tool with my data file in Linux environment. Could you kindly teach me which IDE tools should I use (freeware and shareware better :-)

[svn:parrot-pdd] r15057 - trunk/docs/pdds/clip

2006-10-30 Thread allison
Author: allison Date: Mon Oct 30 09:47:10 2006 New Revision: 15057 Modified: trunk/docs/pdds/clip/pdd25_threads.pod Log: [pdd]: PDD 25, Concurrency - Wrapping up the inline proposal discussion, including references to the most relevant mailing list discussion. Modified:

[svn:parrot-pdd] r15058 - trunk/docs/pdds/clip

2006-10-30 Thread allison
Author: allison Date: Mon Oct 30 10:28:54 2006 New Revision: 15058 Added: trunk/docs/pdds/clip/pdd25_concurrency.pod - copied unchanged from r15057, /trunk/docs/pdds/clip/pdd25_threads.pod Removed: trunk/docs/pdds/clip/pdd25_threads.pod Log: [pdd]: Renaming PDD 25.

[svn:parrot-pdd] r15059 - trunk/docs/pdds/clip

2006-10-30 Thread allison
Author: allison Date: Mon Oct 30 10:34:01 2006 New Revision: 15059 Modified: trunk/docs/pdds/clip/pdd25_concurrency.pod Log: [pdd]: Renaming PDD 25 inside the file. Modified: trunk/docs/pdds/clip/pdd25_concurrency.pod

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

2006-10-30 Thread larry
Author: larry Date: Mon Oct 30 12:18:19 2006 New Revision: 13350 Modified: doc/trunk/design/syn/S03.pod Log: 1st whack at applying dwimmy hypers to hashes. Modified: doc/trunk/design/syn/S03.pod == ---

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

2006-10-30 Thread Larry Wall
Arguably I've got the dwimminess backwards on this. It seems like %outer «+=» %inner ought to dwim that I want the union of keys. In that view the standard non-dwimmy behavior is to ignore keys that are not in the other hash, and dwimmery consists of using keys even if they aren't in the

Re: [perl #40443] Separate vtable functions from methods (using :vtable)

2006-10-30 Thread Jonathan Worthington
Allison Randal wrote: Jonathan Worthington wrote: I implemented this to test it out and it kinda worked. However, properties don't get serialized so if you compile the program to a PBC and run that it doesn't work. Why don't they get serialized? I guess, that's just not implemented. But I

Re: :init Where should we put the flag?

2006-10-30 Thread Kevin Tew
Using either of those flags ( PObj_private0_FLAG or PObj_private2_FLAG ) break other tests. I'm up for more suggestions. Kevin Leopold Toetsch wrote: Am Sonntag, 29. Oktober 2006 21:25 schrieb Kevin Tew: I've had :init implemented for a couple of weeks now, but I can't check it in

Re: [perl #40443] Separate vtable functions from methods (using :vtable)

2006-10-30 Thread chromatic
On Monday 30 October 2006 13:53, Jonathan Worthington wrote: Agree; looking now at what I had to do (walk the MRO) to get inheritance of :vtable methods to work already, doing it with the data in properties is no harder. This is perhaps a sign that it's time for a super or next opcode. -- c

PDD 25 Concurrency - first review

2006-10-30 Thread Allison Randal
I've finished a first pass through PDD 25 on threading/concurrency. It's largely a collection of prior thinking on the subject. Before I start kicking it into a more structured form, I'd like to do an initial round of discussion. This is your chance to mention anything you hoped or expected

Re: PDD 25 Concurrency - first review

2006-10-30 Thread Joshua Gatcomb
On 10/30/06, Allison Randal [EMAIL PROTECTED] wrote: Before I start kicking it into a more structured form, I'd like to do an initial round of discussion. This is your chance to mention anything you hoped or expected from Parrot's concurrency models. How do you plan to use concurrency, and in

[svn:parrot-pdd] r15061 - trunk/docs/pdds/clip

2006-10-30 Thread allison
Author: allison Date: Mon Oct 30 22:11:58 2006 New Revision: 15061 Modified: trunk/docs/pdds/clip/pdd09_gc.pod Log: [pdd]: Adding a garbage collection paper reference for future use. Modified: trunk/docs/pdds/clip/pdd09_gc.pod

Re: PDD 25 Concurrency - first review

2006-10-30 Thread Allison Randal
Joshua Gatcomb wrote: All negativity aside, there are a great deal of valuable points made in the thread which make it worth reading. While it has lost a bit of momentum - it is still being updated with new posts almost daily. Excellent. Thanks for the pointer, Joshua. Definitely some good

Re: [perl #40443] Separate vtable functions from methods (using :vtable)

2006-10-30 Thread Allison Randal
Jonathan Worthington wrote: error:imcc:'init' is not a v-table method, but was used with :vtable. in file 'TGE/Rule.pir' line 49 leo++ fixed half of this when he cleaned up the validation code, but there was another problem too. Fixed that in 15048, so this should work now. This is

[svn:parrot-pdd] r15062 - trunk/docs/pdds/clip

2006-10-30 Thread allison
Author: allison Date: Mon Oct 30 23:29:19 2006 New Revision: 15062 Modified: trunk/docs/pdds/clip/pdd25_concurrency.pod Log: [pdd]: A couple of references on futures concurrency. Modified: trunk/docs/pdds/clip/pdd25_concurrency.pod

Re: [perl #40443] Separate vtable functions from methods (using :vtable)

2006-10-30 Thread Allison Randal
Jonathan Worthington wrote: This is why properties seemed like a good fit: the vtable entries in namespaces are optional, out-of-band information, only used in loading. But, they could just as well be implemented as a separate attribute in the namespace class. Agree; looking now at what I