Re: parrot ops: what's an op?

2007-11-28 Thread Joshua Isom
How can you know what opcodes a dynamically loaded library provides at compile time? If there's no other method than interp, then you'll have to use interp to find out what's valid and what's not, without redesigning how dynops are handled. On Nov 27, 2007, at 1:15 PM, [EMAIL PROTECTED] wrote

Re: [perl #42299] $P symbolic register allocation bug

2007-11-28 Thread Patrick R. Michaud
On Tue, Nov 27, 2007 at 08:52:32PM -0800, Will Coleda via RT wrote: > On Wed Apr 04 05:59:18 2007, [EMAIL PROTECTED] wrote: > > For me, running the attached PIR file outputs: > > Sub > > String > > > > instead of: > > Sub > > Sub > > Can anyone reproduce this on the original platform with > 0.5.

Re: parrot ops: what's an op?

2007-11-28 Thread Klaas-Jan
On Nov 28, 9:04 am, [EMAIL PROTECTED] (Joshua Isom) wrote: > How can you know what opcodes a dynamically loaded library provides at > compile time? If there's no other method than interp, then you'll have > to use interp to find out what's valid and what's not, without > redesigning how dynops are

[perl #46681] [TODO] [C] Use strerror_r instead of strerror

2007-11-28 Thread Joe Sadusk via RT
Heh, ok, grammar fixed and resubmitted. And yes, I've tested it on Linux (Fedora 7) and Windows with MSVC 2005. I don't have a non-glibc unix to try it out with however. Joe On Mon Nov 26 09:50:28 2007, [EMAIL PROTECTED] wrote: > On Sunday 25 November 2007 21:48:01 Joe Sadusk via RT wrote: > >

[svn:parrot-pdd] r23177 - trunk/docs/pdds/draft

2007-11-28 Thread kjs
Author: kjs Date: Wed Nov 28 03:16:34 2007 New Revision: 23177 Modified: trunk/docs/pdds/draft/pdd19_pir.pod Log: [pdd19] remove .sym from pdd19 - pir. Modified: trunk/docs/pdds/draft/pdd19_pir.pod == --- trunk/docs/p

Re: [perl #47902] [PATCH] Confine calls to Perl 5 %Config to init::defaults

2007-11-28 Thread Todd Olson
Hi >One recurring problem -- though not the only problem -- is the fact >that to jump-start its understanding of the state of a user's system, >Parrot's Configure.pl relies on the presence of a Perl 5 Config.pm -- >and its exported variable %Config -- to perform initial population of >many ele

Re: [perl #41597] [PATCH] replacing explicit access to $^O in Configure

2007-11-28 Thread jerry gay
On Nov 10, 2007 3:07 AM, Bernhard Schmalhofer via RT <[EMAIL PROTECTED]> wrote: > On Fr. 23. Feb. 2007, 07:28:38, acalpini wrote: > > this patch adds an 'osname' key to Parrot's own $conf->data, which is > > used in the configure process instead of $^O (and $Config{osname}). > > > > this patch does

Re: [perl #47902] [PATCH] Confine calls to Perl 5 %Config to init::defaults

2007-11-28 Thread Patrick R. Michaud
On Tue, Nov 27, 2007 at 08:30:38PM -0800, chromatic wrote: > On Tuesday 27 November 2007 19:49:26 James Keenan wrote: > > > Since this patch affects 16 configuration modules, I would like to > > have it tried out on as many platforms as possible. Reports from > > Linux and OpenBSD would be partic

xml and perl 6

2007-11-28 Thread James Fuller
there seems to be a dearth of xml 'ness' in Perl 6 design ... perhaps before Perl 6 is fully baked its time to review what could live in the core versus an external module. thoughts? cheers, Jim Fuller

[perl #47886] [TODO] 'make quicktest' target

2007-11-28 Thread Patrick R. Michaud via RT
The attached coretest.patch file adds a "make coretest" target to Parrot. This target runs a smaller subset of tests than the normal "make test" target. On my system, "make test" completes in ~290 seconds, while "make coretest" completes in ~200. The following tests are not included in make core

[perl #47924] [BUG] test failures in t/oo/mro-c3.t

2007-11-28 Thread via RT
# New Ticket Created by Patrick R. Michaud # Please include the string: [perl #47924] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=47924 > I'm getting two test failures in t/oo/mro-c3.t (output below). It's not clear when

Re: [perl #47886] [TODO] 'make quicktest' target

2007-11-28 Thread chromatic
On Wednesday 28 November 2007 09:19:51 Patrick R. Michaud via RT wrote: > The attached coretest.patch file adds a "make coretest" target to > Parrot. This target runs a smaller subset of tests than the normal > "make test" target. On my system, "make test" completes in ~290 > seconds, while "mak

Re: [perl #47902] [PATCH] Confine calls to Perl 5 %Config to init::defaults

2007-11-28 Thread Jim Keenan
Todd Olson via RT <[EMAIL PROTECTED]> on 2007/11/28 Wed AM 08:39:24 CST wrote: > >One feature I have been exploiting extensively in my Perl 5 installs >is cpan.pm's MyConfig.pm which permits me to overlay Perl's %Config >and to swap sets of config changes in and out with out messing with >the ba

Re: xml and perl 6

2007-11-28 Thread Nicholas Clark
On Wed, Nov 28, 2007 at 06:06:14PM +0100, James Fuller wrote: > there seems to be a dearth of xml 'ness' in Perl 6 design ... perhaps > before Perl 6 is fully baked its time to review what could live in the > core versus an external module. > > thoughts? If I remember the plan correctly, it's rou

Re: xml and perl 6

2007-11-28 Thread James Fuller
all makes good sense, to make a poor analogy (and to make my point); the java build tool, Apache Ant went through the same sort of cycle (at a much smaller scale) whereby initial architecture forced a lot of extraneous functionality into the core hard to maintain and limited deployment profi

Re: xml and perl 6

2007-11-28 Thread James Fuller
On Nov 28, 2007 7:31 PM, C.J. Adams-Collier <[EMAIL PROTECTED]> wrote: > On Wed, 2007-11-28 at 18:12 +, Nicholas Clark wrote: > > On Wed, Nov 28, 2007 at 06:06:14PM +0100, James Fuller wrote: > > > there seems to be a dearth of xml 'ness' in Perl 6 design ... perhaps > > > before Perl 6 is full

Re: [perl #47886] [TODO] 'make quicktest' target

2007-11-28 Thread Paul Cochrane
On 28/11/2007, Patrick R. Michaud via RT <[EMAIL PROTECTED]> wrote: > The attached coretest.patch file adds a "make coretest" target to > Parrot. This target runs a smaller subset of tests than the normal > "make test" target. On my system, "make test" completes in ~290 > seconds, while "make cor

Re: xml and perl 6

2007-11-28 Thread James Fuller
On Nov 28, 2007 7:39 PM, Andy Armstrong <[EMAIL PROTECTED]> wrote: > On 28 Nov 2007, at 18:28, James Fuller wrote: > > > A few things I could imagine; native XML data type (and whatever that > > means at this late stage) > > What might that mean at any stage? from a syntactic point of view, h

languages/perl6 doesn't run (was: xml and perl 6)

2007-11-28 Thread Patrick R. Michaud
On Wed, Nov 28, 2007 at 07:42:29PM +0100, James Fuller wrote: > in the meantime, I have yet to get latest trunk perl6 running > properly, on parrot, or freebsd then I will start thinking of such a > task (everything compiles fine). as an aside I am getting an; > > "load_bytecode" couldn't find fi

Re: xml and perl 6

2007-11-28 Thread Geoffrey Broadwell
Not too put too strong a bias on it, but: XML processors are a dime a dozen. There is no way for us to know *now* what the "best" XML processor(s) will be a decade from now, and Perl 6 is intended to be a very long term language. And frankly there are enough different use cases to ensure that no

Re: xml and perl 6

2007-11-28 Thread James Fuller
On Nov 28, 2007 7:50 PM, Geoffrey Broadwell <[EMAIL PROTECTED]> wrote: > Not too put too strong a bias on it, but: > > XML processors are a dime a dozen. There is no way for us to know *now* > what the "best" XML processor(s) will be a decade from now, and Perl 6 > is intended to be a very long te

Re: xml and perl 6

2007-11-28 Thread Andy Armstrong
On 28 Nov 2007, at 18:28, James Fuller wrote: A few things I could imagine; native XML data type (and whatever that means at this late stage) What might that mean at any stage? -- Andy Armstrong, Hexten

[perl #41597] [PATCH] replacing explicit access to $^O in Configure

2007-11-28 Thread James Keenan via RT
On Sat Nov 10 03:07:27 2007, bernhard wrote: > > This patch hasn't been applied yet. > It make sense to me as it is a prerequisite for cross-compilation. > > Should I go ahead and try to apply the patch ? > (I'm surprised this patch slipped beneath my radar, as it refers to files I've been sta

[perl #41597] [PATCH] replacing explicit access to $^O in Configure

2007-11-28 Thread James Keenan via RT
But one more thought ... How will creating an 'osname' key from $^O affect/be affected by all the fiddling done with OS and platform names in config/auto/jit.pm? [parrot] 512 $ grep -n osname config/auto/jit.pm 49:my ( $cpuarch, $osname ) = split( /-/, $archname ); 56:if ( !defined $osna

Re: xml and perl 6

2007-11-28 Thread chromatic
On Wednesday 28 November 2007 10:59:30 James Fuller wrote: > I do not nec. agree with 'a particular grammer is not' part of the > core ... if that grammar is so common to every problem (like regex is) > then why not include it? Because it's not necessary for getting and installing other extension

Re: xml and perl 6

2007-11-28 Thread Geoffrey Broadwell
On Wed, 2007-11-28 at 19:59 +0100, James Fuller wrote: > XML Parser is what I am talking about OK -- do you want an event-based parser? Do you want a DOM parser? Do you want a simplified tree generator parser? Do you care about memory limitations? Run time? Does the parser need to be robust a

Re: xml and perl 6

2007-11-28 Thread Geoffrey Broadwell
On Wed, 2007-11-28 at 11:46 -0800, chromatic wrote: > The criterion for including a module in the core is "Is this necessary to get > and install other modules?" not "Why not include this module?" WELL SAID. -'f

[svn:parrot-pdd] r23196 - trunk/docs/pdds/draft

2007-11-28 Thread kjs
Author: kjs Date: Wed Nov 28 08:04:01 2007 New Revision: 23196 Modified: trunk/docs/pdds/draft/pdd19_pir.pod Log: [pdd19] remove .pcc_ prefix. Modified: trunk/docs/pdds/draft/pdd19_pir.pod == --- trunk/docs/pdds/draft

Re: xml and perl 6

2007-11-28 Thread C.J. Adams-Collier
On Wed, 2007-11-28 at 18:12 +, Nicholas Clark wrote: > On Wed, Nov 28, 2007 at 06:06:14PM +0100, James Fuller wrote: > > there seems to be a dearth of xml 'ness' in Perl 6 design ... perhaps > > before Perl 6 is fully baked its time to review what could live in the > > core versus an external m

[perl #47886] [TODO] 'make quicktest' target

2007-11-28 Thread Patrick R. Michaud via RT
Committed patch in r23209, including refactoring $(RUNCORE_TEST_FILES) out of the root Makefile and into t/harness. Pm

Re: xml and perl 6

2007-11-28 Thread Darren Duncan
At 6:06 PM +0100 11/28/07, James Fuller wrote: there seems to be a dearth of xml 'ness' in Perl 6 design ... perhaps before Perl 6 is fully baked its time to review what could live in the core versus an external module. thoughts? cheers, Jim Fuller I want to state agreement with others that thi

[perl #47930] [RFC] Remove comma separated keys [a,b]

2007-11-28 Thread via RT
# New Ticket Created by Klaas-Jan Stol # Please include the string: [perl #47930] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=47930 > hi, IMCC allows for writing $P0 = $P1[10, 20] Looking into the yacc file, it seems

[perl #47926] problem with non-existing Protoobject.pbc

2007-11-28 Thread James Fuller
# New Ticket Created by "James Fuller" # Please include the string: [perl #47926] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=47926 > after building parrot (and doing a make realclean to ensure all is well) having a prob

Re: [perl #41597] [PATCH] replacing explicit access to $^O in Configure

2007-11-28 Thread Bernhard Schmalhofer
James Keenan via RT schrieb: (I'm surprised this patch slipped beneath my radar, as it refers to files I've been staring at for months.) This is very consistent with what I've recommended for %Config in http://rt.perl.org/rt3//Public/Bug/Display.html?id=47902, so I recommend this patch be applie

Re: [perl #47882] r22900 on Darwin/leopard 10.5.1 (intel) make failure "Parrot_DynOp_core_cgp_0_5_0' undeclared"

2007-11-28 Thread Andy_Bach
Appears to be fixed as of r23207 - made smoke w/ 99.99% ok (failed 1 of 4 for stm/basic_mt.t (line 168)) a Andy Bach Systems Mangler Internet: [EMAIL PROTECTED] VOICE: (608) 261-5738 FAX 264-5932 Remember, the first rule of optimisation is: don't do it yet. :-)

Re: [perl #41597] [PATCH] replacing explicit access to $^O in Configure

2007-11-28 Thread James E Keenan
Bernhard Schmalhofer wrote: James, could you look into this patch and apply it if appropriate? Obviously you are the person that knows best, whether it can be applied right away or needs some fiddling or merging. Yes. In line with my second post in RT 47902, I'm thinking that in step #2

[perl #41597] [PATCH] replacing explicit access to $^O in Configure

2007-11-28 Thread James Keenan via RT
On Wed Nov 28 15:48:32 2007, [EMAIL PROTECTED] wrote: > Bernhard Schmalhofer wrote: > > >> > > James, > > > > could you look into this patch and apply it if appropriate? > > Obviously you are the person that knows best, whether > > it can be applied right away or needs some fiddling or merging

[perl #47816] Tcl Segfault

2007-11-28 Thread Will Coleda via RT
On Tue Nov 27 22:57:38 2007, [EMAIL PROTECTED] wrote: > On Sunday 25 November 2007 17:49:19 Will Coleda wrote: > > > Yet another tcl segfault, this time on feather. (linux) > > > > Revision: 23055 > > > > 1) build tcl. > > > > 2) run "../../parrot tcl.pbc" > > > > 3) boom > > > > backtrace via gdb

[perl #41597] [PATCH] replacing explicit access to $^O in Configure

2007-11-28 Thread James Keenan via RT
The intent of Aldo's patch is even closer than I first thought to what I proposed last night ... as is evident from this question: For a given instance of perl on a given OS, can I assume that the two commands below will *always* produce the same output? [parrot] 506 $ perl -MConfig -le 'print $C

[perl #47011] [DEPRECATED] VTABLE entry 'new_from_string'

2007-11-28 Thread Will Coleda via RT
On Mon Oct 29 11:11:03 2007, bernhard wrote: > In pdd17_pmc.pod it is stated that 'new_from_string' is deprecated. > The existing use of 'new_from_string' can probably be achieved with > 'init' or > 'set_string_native'. > > TODO: > Hunt down existing use of 'new_i_s' and either replace or remove

[perl #47940] [CAGE] mk_native_pbc stale

2007-11-28 Thread via RT
# New Ticket Created by Will Coleda # Please include the string: [perl #47940] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=47940 > mk_native_pbc has, 2x: make -s progclean make -s -C imcc clean Both of which are invali

Re: xml and perl 6

2007-11-28 Thread James Fuller
On Nov 28, 2007 8:46 PM, chromatic <[EMAIL PROTECTED]> wrote: > On Wednesday 28 November 2007 10:59:30 James Fuller wrote: > > > I do not nec. agree with 'a particular grammer is not' part of the > > core ... if that grammar is so common to every problem (like regex is) > > then why not include it?

Re: xml and perl 6

2007-11-28 Thread James Fuller
On Nov 28, 2007 8:48 PM, Geoffrey Broadwell <[EMAIL PROTECTED]> wrote: > On Wed, 2007-11-28 at 19:59 +0100, James Fuller wrote: > > XML Parser is what I am talking about > > OK -- do you want an event-based parser? Do you want a DOM parser? Do > you want a simplified tree generator parser? Do yo

Re: xml and perl 6

2007-11-28 Thread James Fuller
On Nov 29, 2007 7:45 AM, Alex Kapranoff <[EMAIL PROTECTED]> wrote: > В Чтв, 29/11/2007 в 07:18 +0100, James Fuller пишет: > > On Nov 28, 2007 8:46 PM, chromatic <[EMAIL PROTECTED]> wrote: > > > On Wednesday 28 November 2007 10:59:30 James Fuller wrote: > > > > I do not nec. agree with 'a particular

Re: xml and perl 6

2007-11-28 Thread Alex Kapranoff
В Чтв, 29/11/2007 в 07:18 +0100, James Fuller пишет: > On Nov 28, 2007 8:46 PM, chromatic <[EMAIL PROTECTED]> wrote: > > On Wednesday 28 November 2007 10:59:30 James Fuller wrote: > > > I do not nec. agree with 'a particular grammer is not' part of the > > > core ... if that grammar is so common to

Re: parentheses and context (was Re: state and START)

2007-11-28 Thread Larry Wall
On Wed, Nov 14, 2007 at 08:09:31PM -0600, Jonathan Scott Duff wrote: : On Nov 14, 2007 2:47 PM, Nicholas Clark <[EMAIL PROTECTED]> wrote: : : > On Sat, Sep 08, 2007 at 01:48:39PM +0100, Nicholas Clark wrote: : > > Have I got this correct? : > > : > > state @a = foo(); # Implicit START block ar