Re: T::H 2.38

2003-12-02 Thread Andy Lester
prove begins with #!/usr/bin/perl and prove-switches.t runs it with my @actual = qx/$prove -Ifirst -D -I second -Ithird -Tvdb/; A $^X should be inserted here. (in bleadperl, the shebang line of prove is fixed when installed.) What should be in prove's shebang? xoa -- Andy Lester [EMAIL PROTEC

Re: tesing exceptions of Error.pm

2003-12-02 Thread Michael G Schwern
On Thu, Nov 27, 2003 at 10:02:10PM +0200, Gabor Szabo wrote: > How am I going to test this ? > I came up with the following in the test script: > > > use Error qw(:try); > > > my $ex; > try { >f(); > } > catch MyError with { > $ex = shift; > }; > like($ex, qr/Bad thing happened/, 'succe

Re: [RFC] IMCC pending changes request for comments

2003-12-02 Thread Melvin Smith
At 07:59 PM 12/2/2003 -0800, Steve Fink wrote: On Dec-02, Melvin Smith wrote: > > 1) Currently typenames are not checked except with 'new ' I would vote for no aliases at all. I propagated the existing uses of ".local object" in the Perl6 compiler and introduced several more uses, but that was only

Re: [RFC] IMCC pending changes request for comments

2003-12-02 Thread Steve Fink
On Dec-02, Melvin Smith wrote: > > 1) Currently typenames are not checked except with 'new ' I would vote for no aliases at all. I propagated the existing uses of ".local object" in the Perl6 compiler and introduced several more uses, but that was only because I wasn't sure at the time whether it

Re: Objects!

2003-12-02 Thread Dan Sugalski
At 10:09 PM -0500 12/2/03, Melvin Smith wrote: At 10:52 AM 12/2/2003 -0500, Dan Sugalski wrote: Single-inheritance objects seem to be done. The code can use a lot of abuse and cleanup, and we need actual tests to make sure that it functions as it should, but they're in. Let me start the abuse. *

Re: Objects!

2003-12-02 Thread Melvin Smith
At 10:52 AM 12/2/2003 -0500, Dan Sugalski wrote: Single-inheritance objects seem to be done. The code can use a lot of abuse and cleanup, and we need actual tests to make sure that it functions as it should, but they're in. Let me start the abuse. *(cough)* examples would be nice ;) Ok, abuse o

Re: >>OP<< [was: Re: Properties] [OT]

2003-12-02 Thread Paul Hodges
> And as far as I know, << and >> are exactly equivalent to æ?? and æ?? > in all cases. lol I get the idea, but I foresee these unicode bits as becoming an occasional sharp spot in my metaphorical seat of consciousness. :) I am not seeing unicode. __ Do you Y

Re: >>OP<< [was: Re: Properties]

2003-12-02 Thread Paul Hodges
--- Michael Lazzaro <[EMAIL PROTECTED]> wrote: > > On Monday, December 1, 2003, at 01:05 PM, Hodges, Paul wrote: > > Didn't know "is" would do that. Good to know! > > And in my meager defense, I did reference MikeL's operator > > synopsis as of 3/25/03, which said ^[op] might be a synonym > > for

Re: >>OP<< [was: Re: Properties]

2003-12-02 Thread Michael Lazzaro
On Tuesday, December 2, 2003, at 12:37 PM, Luke Palmer wrote: Michael Lazzaro writes: There were also vaguely threatening proposals to have <> and >>op<< do slightly different things. I assume that is also dead, and that <> is (typically) a syntax error. Ack. No, slightly different things would

[RFC] IMCC pending changes request for comments

2003-12-02 Thread Melvin Smith
In an effort to improve its error reporting ability and internal maintainability, I'm considering the following changes; well number (1) is already decided, but I need feedback from compiler maintainers before doing so. 1) Currently typenames are not checked except with 'new ' C<.local iden

Re: configure on windows

2003-12-02 Thread Pete Lomax
On 02 Dec 2003 18:37:15 +0100, Juergen Boemmels <[EMAIL PROTECTED]> wrote: >Pete Lomax <[EMAIL PROTECTED]> writes: > >> Command line used was: >> $ perl -e "open STDERR,'>&STDOUT'; exec qq{$^X Configure.pl --cc=gcc >> --cgoto=0 --jitcapable=0 --verbose}" > conf.out >> >> Output file is attached >

[perl #24584] [PATCH] 'in macro' vs. 'in file' in some imclexer.c error messages

2003-12-02 Thread via RT
# New Ticket Created by Bernhard Schmalhofer # Please include the string: [perl #24584] # in the subject line of all future correspondence about this issue. # http://rt.perl.org:80/rt3/Ticket/Display.html?id=24584 > This patch concers a few error messages generated in 'imclexer.c'. When play

Re: >>OP<< [was: Re: Properties]

2003-12-02 Thread Luke Palmer
Luke Palmer writes: > And as far as I know, << and >> are exactly equivalent to æ and æ in all > cases. By which I mean  and Â, of course. :-/ (mutt is kind of a pain in this area) Luke Ã

Re: >>OP<< [was: Re: Properties]

2003-12-02 Thread Luke Palmer
Michael Lazzaro writes: > > On Monday, December 1, 2003, at 01:05 PM, Hodges, Paul wrote: > >Didn't know "is" would do that. Good to know! > >And in my meager defense, I did reference MikeL's operator synopsis as > >of > >3/25/03, which said ^[op] might be a synonym for <<>> or >><< (Sorry, > >n

>>OP<< [was: Re: Properties]

2003-12-02 Thread Michael Lazzaro
On Monday, December 1, 2003, at 01:05 PM, Hodges, Paul wrote: Didn't know "is" would do that. Good to know! And in my meager defense, I did reference MikeL's operator synopsis as of 3/25/03, which said ^[op] might be a synonym for <<>> or >><< (Sorry, no fancy chars here. :) Hey, that was *March*

More object stuff

2003-12-02 Thread Dan Sugalski
Now that objects at least limp along a bit (albeit in a crashy, hackish way) it's time to look forward a bit. The code definitely needs some looking at and cleanup. It's not perfect and I expect it's flawed in a number of places. I'm just happy to get the damn stuff into the repository so the b

Re: Raising exceptions

2003-12-02 Thread Cory Spencer
> > I've been hard pressed to find any examples of proper exception-raising > > with Parrot > > t/pmc/exception.t Excellent, thank you.

Re: [perl #24576] Some new targets in makefiles/root.in

2003-12-02 Thread Juergen Boemmels
Bernhard Schmalhofer (via RT) <[EMAIL PROTECTED]> writes: > languages.in: > - add $(MAKE_C) befunge clean in target 'clean' > > root.in: > - add target 'help': This should give a basic overview of what can be done > with the Makefile > - add target 'languages-clean': I needed that for testing

This week's summary

2003-12-02 Thread The Perl 6 Summarizer
The Perl 6 summary for the week ending 20031130 Welcome back to the weekly Perl 6 Summary, which I'm hoping to keep on a weekly cycle for the foreseeable future. It's been a relatively low volume week this week, I'm assuming that Thanksgiving had something to do with it (I hope tho

Re: cvs commit: parrot/config/gen/makefiles root.in

2003-12-02 Thread Juergen Boemmels
Leopold Toetsch <[EMAIL PROTECTED]> writes: > Andy Dougherty <[EMAIL PROTECTED]> wrote: > > > Sorry, I guess I should have been more explicit. What folks apparently do > > is have the sources on an NFS server mounted read-only. They then build a > > symlink tree onto a local read-write filesyst

Objects!

2003-12-02 Thread Dan Sugalski
Well, objects-ish, at least. Single-inheritance objects seem to be done. The code can use a lot of abuse and cleanup, and we need actual tests to make sure that it functions as it should, but they're in. Here's the technical scoop. When you create a ParrotClass-based class (which is to say, yo

Re: [RfC] disable unused vtable entries

2003-12-02 Thread Dan Sugalski
At 12:14 PM +0100 12/2/03, Leopold Toetsch wrote: Leopold Toetsch <[EMAIL PROTECTED]> wrote: OTOH I'm thinking of adding _keyed_str variants to used _keyed vtables. We are already constructing too much temporary key PMCs from a string just to pass a string to an hash lookup. Object ops and func

Re: Segfault on Win32, The

2003-12-02 Thread Dan Sugalski
At 1:52 AM +0300 12/2/03, Vladimir Lipsky wrote: I'm done with it for now and I'm not the dan to say which way is the parrot way to fix this bug Well, bah. I'll disable the table freeing for now and that should take care of the bug at the moment, though it certainly won't cure the underlying memo

Re: cvs commit: parrot/config/gen/makefiles root.in

2003-12-02 Thread Dan Sugalski
At 10:32 AM +0100 12/2/03, Leopold Toetsch wrote: Andy Dougherty <[EMAIL PROTECTED]> wrote: Sorry, I guess I should have been more explicit. What folks apparently do is have the sources on an NFS server mounted read-only. They then build a symlink tree onto a local read-write filesystem and r

Re: [RfC] Fix assigned PMC enum_class_xxx

2003-12-02 Thread Dan Sugalski
At 12:01 AM -0500 12/2/03, Melvin Smith wrote: At 10:40 AM 11/28/2003 +0100, Leopold Toetsch wrote: As outlined some time ago, when ops.num made it into the core, we need fix assigned PMC class enums too. (Changed class enums invalidate existing PBC files). 1) lib/Parrot/PMC.pm is the canonical

Re: Some PIR "How do I?" questions

2003-12-02 Thread Dan Sugalski
At 10:28 PM -0500 12/1/03, Melvin Smith wrote: 2) printf/sprintf - we do need it (and implemented in C) since it is a staple and is the reasonable hook for HLL implementors to do interpolation without having to write a special native method or PMC for each language. Okay, once I get the object stu

Re: Object stuff

2003-12-02 Thread Dan Sugalski
At 2:05 AM +0300 12/2/03, Vladimir Lipsky wrote: From: "Dan Sugalski" <[EMAIL PROTECTED]> Sent: Monday, December 01, 2003 9:53 PM *) I've made the Parrot_base_vtable array movable again, as it needs to be resized. This is a temporary hack, since there are horrible threading issues here. (Not to

Re: Why are .sub and compilation unit one and the same thing?

2003-12-02 Thread Dan Sugalski
At 8:10 PM -0700 12/1/03, Cory Spencer wrote: > However, if giving up IMCC's register allocator is worth gaining the extra control of PASM, by all means do it, however I'm all ears on suggestions for IMCC for features. *hint* In that case, I don't suppose it would be possible for IMCC to allow

Re: [RfC] Fix assigned PMC enum_class_xxx

2003-12-02 Thread Jeff Clites
On Dec 1, 2003, at 9:01 PM, Melvin Smith wrote: At 10:40 AM 11/28/2003 +0100, Leopold Toetsch wrote: As outlined some time ago, when ops.num made it into the core, we need fix assigned PMC class enums too. (Changed class enums invalidate existing PBC files). 1) lib/Parrot/PMC.pm is the canonica

Re: 'Core' Language Philosophy

2003-12-02 Thread Piers Cawley
Michael Lazzaro <[EMAIL PROTECTED]> writes: > On Wednesday, November 26, 2003, at 12:29 PM, Larry Wall wrote: >> If you contrast it with an explicit try block, sure, it looks >> better. But >> that's not what I compare it with. I compare it with Perl 5's: >> >> $opus.write_to_file($file) or

Re: [RfC] disable unused vtable entries

2003-12-02 Thread Leopold Toetsch
Leopold Toetsch <[EMAIL PROTECTED]> wrote: > OTOH I'm thinking of adding _keyed_str variants to used _keyed vtables. > We are already constructing too much temporary key PMCs from a string > just to pass a string to an hash lookup. Object ops and functions do > this all over the place repeatedly.

RE: Properties

2003-12-02 Thread Hodges, Paul
> From: Luke Palmer [mailto:[EMAIL PROTECTED] > Hodges, Paul writes: > > > > sub setvals ($o, [EMAIL PROTECTED]) { > > $o but= $_; > > $o.$_ = true; > > } > > Y'all seem to be missing a C somewhere :-) > > sub setvals ($o, [EMAIL PROTECTED]) { > $o bu

Re: Segfault on Win32, The

2003-12-02 Thread Leopold Toetsch
Vladimir Lipsky <[EMAIL PROTECTED]> wrote: > From: "Leopold Toetsch" <[EMAIL PROTECTED]> > Sent: Monday, December 01, 2003 5:47 PM >>Which child interpreter? Parrot_destroy_vtable() is called after >>free_unused_pobjects(). > Well you know test 61 in t/pmc/pmc.t causes a segfault. Its pmc_62 lab

Re: cvs commit: parrot/config/gen/makefiles root.in

2003-12-02 Thread Leopold Toetsch
Andy Dougherty <[EMAIL PROTECTED]> wrote: > Sorry, I guess I should have been more explicit. What folks apparently do > is have the sources on an NFS server mounted read-only. They then build a > symlink tree onto a local read-write filesystem and run the build there. > Thus they can create all

Re: Raising exceptions

2003-12-02 Thread Leopold Toetsch
Cory Spencer <[EMAIL PROTECTED]> wrote: > I've been hard pressed to find any examples of proper exception-raising > with Parrot t/pmc/exception.t > ... has this > been at least semi-completed? Yes. leo