Re: Pugs to become a Perl6 -> Parrot AST/IMC compiler.

2005-04-01 Thread Millsa Erlas
Autrijus Tang wrote: After a IRC meeting with Leo, I've outlined my roadmap of how to make the three compiler backends in Pugs to work in concert to provide a much faster evaluator: http://use.perl.org/~autrijus/journal/23890 Note that existing code in the Eval monad need not be rewritten; also

Re: [Fwd: a warning and a failure for parrot in Tru64]

2005-04-01 Thread Nick Glencross
Leopold Toetsch wrote: Original Message Subject: a warning and a failure for parrot in Tru64 Date: Thu, 31 Mar 2005 20:41:30 +0300 From: Jarkko Hietaniemi <[EMAIL PROTECTED]> To: Leopold Toetsch <[EMAIL PROTECTED]> cc: Warning: pylist.pmc, line 601: In this statement, the referen

Re: [Fwd: a warning and a failure for parrot in Tru64]

2005-04-01 Thread Nick Glencross
Nick Glencross wrote: Having never had access to a Tru64 system, does that mean that parrot is compiled 64 bit? Two initial comments: * This is a platform that we've not had a chance to test on, so I'm grateful to see it tested on a new platform. It was hoped that it would work, but to stop t

Re: a less fragile way to test when we need to read and write to STDOUT?

2005-04-01 Thread George Nistorica
On Thu, 2005-03-31 at 16:46 +, Mark Stosberg wrote: > Hello, Hello, > > I've been working on a Perl test suite for darcs, with notable recent > help from Schwern. > > We used to have tests that looked like this: > >like(`echo y | darcs command`,qr/$re/); > > That would run the comma

[perl #34637] [PATCH] A couple more md5 library tweaks

2005-04-01 Thread via RT
# New Ticket Created by Nick Glencross # Please include the string: [perl #34637] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=34637 > A small patch to: * Give Jens credit for yesterday's enhancements (I think that I'

Re: identity tests and comparing two references

2005-04-01 Thread Aaron Sherman
On Thu, 2005-03-31 at 23:46 -0800, Darren Duncan wrote: > What I want to be able to do is compare two references to see if they > point to the same thing, in this case an object, but in other cases > perhaps some other type of thing. Let's be clear about the difference between P5 and P6 here. I

the PAPAgei asks for HELP! - BNF conversion / pascal grammar for PRD

2005-04-01 Thread Sven Schubert
Hi all, I am still working on PAPAgei - the PAscal for PArrot compiler which is my final year project at I.T. Carlow. My (tentative) approach is to use PRD for parsing and taking Dan's article on building a compiler for parrot as a guide, I wanted to build an ISO pascal compiler starting with a v

Re: identity tests and comparing two references

2005-04-01 Thread Larry Wall
On Thu, Mar 31, 2005 at 11:46:22PM -0800, Darren Duncan wrote: : So, what is the operator for reference comparison? The =:= operator is almost certainly what you want here. Larry

Re: identity tests and comparing two references

2005-04-01 Thread Luke Palmer
Sam Vilain writes: > Darren Duncan wrote: > >Now I seem to remember reading somewhere that '===' will do what I want, > >but I'm now having trouble finding any mention of it. > >So, what is the operator for reference comparison? > > As someone who wrote a tool that uses refaddr() and 0+ in Perl 5

Re: identity tests and comparing two references

2005-04-01 Thread Larry Wall
: On Thu, 2005-03-31 at 23:46 -0800, Darren Duncan wrote: On Fri, Apr 01, 2005 at 08:04:22AM -0500, Aaron Sherman wrote: : : > What I want to be able to do is compare two references to see if they : > point to the same thing, in this case an object, but in other cases : > perhaps some other type

Re: identity tests and comparing two references

2005-04-01 Thread Larry Wall
On Fri, Apr 01, 2005 at 08:39:52AM -0700, Luke Palmer wrote: : I'm pretty sure that =:= does what you want. If you have two scalar : references, you might have to spell it like this: : : $$x =:= $$y Unnecessary, I think. I want $x =:= @y to tell me whether the reference in $x is to th

Re: [Fwd: a warning and a failure for parrot in Tru64]

2005-04-01 Thread MrJoltCola
At 06:33 AM 4/1/2005, Nick Glencross wrote: Having never had access to a Tru64 system, does that mean that parrot is compiled 64 bit? Two initial comments: * This is a platform that we've not had a chance to test on, so I'm grateful to see it tested on a new platform. It was hoped that it woul

Re: Pugs Q for the Parrot FAQ?

2005-04-01 Thread Nicholas Clark
On Thu, Mar 31, 2005 at 12:41:43PM -0500, Matthew Zimmerman wrote: > One possibility is attached. Thanks, applied. Nicholas Clark

Re: Documentary annotations: $what doc

2005-04-01 Thread Chip Salzenberg
According to Abhijit Mahabal: > sub f2c (Num $temp doc "Temperature in degrees F") {...} Nce. -- Chip Salzenberg- a.k.a. -<[EMAIL PROTECTED]> Open Source is not an excuse to write fun code then leave the actual work to others.

Re: identity tests and comparing two references

2005-04-01 Thread Aaron Sherman
On Fri, 2005-04-01 at 10:46, Larry Wall wrote: > On Fri, Apr 01, 2005 at 08:04:22AM -0500, Aaron Sherman wrote: > : In P6, an object is a data-type. It's not a reference, and any member > : payload is attached directly to the variable. > > Well, it's still a reference, but we try to smudge the di

Re: Kwalitee and has_test_*

2005-04-01 Thread Thomas Klausner
Hi! On Sun, Mar 27, 2005 at 11:40:45AM +0100, Tony Bowden wrote: > There are now two kwalitee tests for 'has_test_pod' and > 'has_test_pod_coverage'. These check that there are test scripts for > POD correctness and POD coverage. Actually they check if Test::Pod and Test::Pod::Coverage are used

Re: Kwalitee and has_test_*

2005-04-01 Thread chromatic
On Fri, 2005-04-01 at 21:00 +0200, Thomas Klausner wrote: > On Sun, Mar 27, 2005 at 11:40:45AM +0100, Tony Bowden wrote: > > We should be very wary of stipulating HOW authors have to achieve their > > quality. Saying you can only check your POD in one specific way goes to > > far IMO. > > That'

Re: Parrot under Subversion / ICU

2005-04-01 Thread Andy Dougherty
On Thu, 31 Mar 2005, Leopold Toetsch wrote: We gonna switch to SVN soon. 3) If no one utters a killer argument against, we'll switch to SVN I tried svn again. I'm happy to report it worked much better than it did the last time I tried it. For one thing, it actually compiled for me. It's still

Re: Kwalitee and has_test_*

2005-04-01 Thread Thomas Klausner
Hi! On Fri, Apr 01, 2005 at 10:59:04AM -0800, chromatic wrote: > Why, then, is suggesting that people ship tests for POD errors and > coverage a good idea? I'm not 100% sure if it's a good idea, but it's an idea. But then, if I write some test (eg to check pod coverage), why should I not ship

Testing Net-SSLeay

2005-04-01 Thread Walter Goulet
Hi, I've been in contact with the author of Net-SSLeay about testing his module. One limitation I have to work with is that the module has to work out of the box with perl 5.6.0 which doesn't include the Test::Simple and Test::More modules. I guess this limits me to using the old Test module. He

Re: Kwalitee and has_test_*

2005-04-01 Thread chromatic
On Fri, 2005-04-01 at 21:43 +0200, Thomas Klausner wrote: > But then, if I write some test (eg to check pod coverage), why should I not > ship them? It's a good feeling to let others know that I took some extra > effort to make sure everything works. If I use Devel::Cover to check my test coverag

Re: Testing Net-SSLeay

2005-04-01 Thread Randy W. Sims
Walter Goulet wrote: Hi, I've been in contact with the author of Net-SSLeay about testing his module. One limitation I have to work with is that the module has to work out of the box with perl 5.6.0 which doesn't include the Test::Simple and Test::More modules. I guess this limits me to using the o

Re: Kwalitee and has_test_*

2005-04-01 Thread Tony Bowden
On Fri, Apr 01, 2005 at 09:00:17PM +0200, Thomas Klausner wrote: > Anyway, I invite everybody to suggest new metrics I'd like the "is pre-req" thing to be more useful. Rather than a binary yes/no thing (and the abuses it leads to), I'd rather have something akin to Google's Page Rank, where the s

Re: Kwalitee and has_test_*

2005-04-01 Thread Tony Bowden
On Fri, Apr 01, 2005 at 09:00:17PM +0200, Thomas Klausner wrote: > > We should be very wary of stipulating HOW authors have to achieve their > > quality. Saying you can only check your POD in one specific way goes to > > far IMO. > That's a good point. > OTOH, I know of several people who added Pod

Re: identity tests and comparing two references

2005-04-01 Thread Darren Duncan
At 7:37 AM -0800 4/1/05, Larry Wall wrote: On Thu, Mar 31, 2005 at 11:46:22PM -0800, Darren Duncan wrote: : So, what is the operator for reference comparison? The =:= operator is almost certainly what you want here. Larry Thanks to everyone for their answers. Last night I started coding with =:=

Re: identity tests and comparing two references

2005-04-01 Thread Juerd
Larry Wall skribis 2005-04-01 7:47 (-0800): > : $$x =:= $$y > Unnecessary, I think. I want > $x =:= @y > to tell me whether the reference in $x is to the same array as @y. But my $foo; my $bar := $foo; my $baz = \$foo; $foo :=: $bar; # true $foo :=: $baz; # also t

Re: identity tests and comparing two references

2005-04-01 Thread Juerd
Juerd skribis 2005-04-01 22:35 (+0200): > $foo :=: $bar; # true > $foo :=: $baz; # also true?! > IMO, :=: should not auto(de)reference. s:g/:=:/=:=/ Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.ht

Re: [Module::Build] Re: Test::META

2005-04-01 Thread Ken Williams
On Mar 30, 2005, at 6:16 PM, Michael G Schwern wrote: On Wed, Mar 30, 2005 at 05:53:37PM -0500, Randy W. Sims wrote: Should we completely open this up so that requires/recommends/conflicts can be applied to any action? install_recommends => ... testcover_requires => ... etc. This sounds useful an

Re: [Module::Build] Re: Test::META

2005-04-01 Thread Ken Williams
On Mar 29, 2005, at 10:44 PM, Randy W. Sims wrote: Michael G Schwern wrote: On Tue, Mar 29, 2005 at 08:33:48PM -0500, Randy W. Sims wrote: A quickie sample implementation to add more meat. I didn't apply yet mainly because I'm wondering if we shouldn't bail and do a complete roll-back (eg. don't

Re: Testing Net-SSLeay

2005-04-01 Thread Walter Goulet
My impression from the author was that he didn't want me bundling any additional modules with Net-SSLeay. Maybe I don't fully understand your suggestion... On Apr 1, 2005 2:07 PM, Randy W. Sims <[EMAIL PROTECTED]> wrote: > Walter Goulet wrote: > > Hi, > > > > I've been in contact with the author o

Re: [Module::Build] Re: Test::META

2005-04-01 Thread Christopher H. Laco
Ken Williams wrote: Since the 'build', 'test', and 'install' actions are considered the "critical path" for installing a module, I think it makes sense to warn (not die) during "perl Build.PL" when one of their required/recommended/conflict dependencies aren't met. Thereafter, only die/warn wh

Re: Testing Net-SSLeay

2005-04-01 Thread Paul Johnson
On Fri, Apr 01, 2005 at 01:47:36PM -0600, Walter Goulet wrote: > Finally, I wanted to confirm an assumption: I can split test.pl into a > set of seperate t/*.t test scripts regardless of whether I'm using > Test or Test::More. Yes. Or neither or both. -- Paul Johnson - [EMAIL PROTECTED] http:/

Re: [Module::Build] Re: Test::META

2005-04-01 Thread David Golden
Ken Williams wrote: On Mar 30, 2005, at 6:16 PM, Michael G Schwern wrote: On Wed, Mar 30, 2005 at 05:53:37PM -0500, Randy W. Sims wrote: Should we completely open this up so that requires/recommends/conflicts can be applied to any action? install_recommends => ... testcover_requires => ... etc. Th

Re: Again the infix ops

2005-04-01 Thread Nicholas Clark
On Thu, Mar 31, 2005 at 06:13:57PM +0200, Leopold Toetsch wrote: > Luke Palmer <[EMAIL PROTECTED]> wrote: > > Leopold Toetsch writes: > >> But with one more indirection a PIC-like scheme can work with > >> read-only bytecode too (probably). E.g. the assembler emits instead > >> of the proposed: > >

Re: Testing Net-SSLeay

2005-04-01 Thread Andy Lester
On Fri, Apr 01, 2005 at 01:47:36PM -0600, Walter Goulet ([EMAIL PROTECTED]) wrote: > I've been in contact with the author of Net-SSLeay about testing his > module. One limitation I have to work with is that the module has to > work out of the box with perl 5.6.0 which doesn't include the > Test::S

Why a scoreboard?

2005-04-01 Thread Andy Lester
Why is there a scoreboard? Why do we care about rankings? Why is it necessary to compare one measure to another? What purpose is being served? xoxo, Andy -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Re: Testing Net-SSLeay

2005-04-01 Thread Walter Goulet
Well ok, but then you have to pull it off of the Phalanx 100. Either that, or we convince the author of the benefits of upgrading the testing infrastructure. I'm not sure what is driving him to keep the module compatible with 5.6.0 (especially since the testing modules were added to 5.6.2). On Apr

Re: identity tests and comparing two references

2005-04-01 Thread Thomas Sandlaß
Juerd wrote (with substitution applied): IMO, =:= should not auto(de)reference. So you expect $bar to contain value 2 and detach from $foo? How would one then reach the value in $foo? With $$baz? And for longer chains of referene with a corresponding number of $ on the front? But IIRC that was obvi

Re: [Fwd: a warning and a failure for parrot in Tru64]

2005-04-01 Thread Nick Glencross
MrJoltCola wrote: At 06:33 AM 4/1/2005, Nick Glencross wrote: Having never had access to a Tru64 system, does that mean that parrot is compiled 64 bit? Two initial comments: * This is a platform that we've not had a chance to test on, so I'm grateful to see it tested on a new platform. It was

PLEAC - Programming Language Examples Alike Cookbook

2005-04-01 Thread Tim Bunce
So far http://pleac.sourceforge.net/ has comparative Perl Cookbook example for these languages: - perl, 100.00% done (naturally, since they're from the book) - python, 63.43% done - ruby, 62.43% done - guile, 30.00% done - merd, 28.86% done - ada, 26.00% done - tcl, 25.00% done - ocaml, 24

Re: identity tests and comparing two references

2005-04-01 Thread Juerd
Thomas Sandlaß skribis 2005-04-01 23:37 (+0200): > Juerd wrote (with substitution applied): > >IMO, =:= should not auto(de)reference. > So you expect $bar to contain value 2 and detach from $foo? No. But if you said $baz instead of $bar, then yes. > How would one then reach the value in $foo? Wit

Re: [Module::Build] Re: Test::META

2005-04-01 Thread Ken Williams
On Apr 1, 2005, at 2:55 PM, Christopher H. Laco wrote: If build, test, and install are considered the critical path, why was Build/make never changed to simple run "test" always as part of the builds success or failure? Just curious. In a way, I'd be much happier if 'perl Build' or 'make' outri

Lexical scope pad stack

2005-04-01 Thread Cory Spencer
Just a quick question: Is there currently any method of determining the depth of the lexical scope pad stack? None of the ops in var.pod seem to be able to provide that information at the moment... Cory

Re: Lexical scope pad stack

2005-04-01 Thread Cory Spencer
Is there currently any method of determining the depth of the lexical scope pad stack? None of the ops in var.pod seem to be able to provide that information at the moment... Actually, I suppose I should clarify what I want to get at here, which is when lexical pads popped off the stack. Am I

Re: PLEAC - Programming Language Examples Alike Cookbook

2005-04-01 Thread Aaron Sherman
On Fri, 2005-04-01 at 16:57, Tim Bunce wrote: > So far http://pleac.sourceforge.net/ has comparative Perl Cookbook > example for these languages: [...] > The maintainer, Guillaume Cottenceau <[EMAIL PROTECTED]>, is very happy to > accept perl6 versions of Perl Cookbook examples. Presumably people

Re: identity tests and comparing two references

2005-04-01 Thread Thomas Sandlaß
HaloO Juerd, you wrote: Thomas Sandlaß skribis 2005-04-01 23:37 (+0200): So you expect $bar to contain value 2 and detach from $foo? No. But if you said $baz instead of $bar, then yes. Ohh sorry, I mis-read your mail as talking about chains of references: $baz to $bar to $foo to 2. The last step co

Re: identity tests and comparing two references

2005-04-01 Thread James Mastros
Larry Wall wrote: On Fri, Apr 01, 2005 at 08:39:52AM -0700, Luke Palmer wrote: : I'm pretty sure that =:= does what you want. If you have two scalar : references, you might have to spell it like this: : : $$x =:= $$y Unnecessary, I think. I want $x =:= @y to tell me whether the referenc

Re: Kwalitee and has_test_*

2005-04-01 Thread Sébastien Aperghis-Tramoni
Tony Bowden wrote: On Fri, Apr 01, 2005 at 09:00:17PM +0200, Thomas Klausner wrote: Anyway, I invite everybody to suggest new metrics I'd like the "is pre-req" thing to be more useful. Rather than a binary yes/no thing (and the abuses it leads to), I'd rather have something akin to Google's Page Ra

directory re-orgs

2005-04-01 Thread Stevan Little
Since it seems everyone is asleep, I figured I would email this to the list instead of just blurt it on IRC. I noticed that mugwump moved the perl6 ext/ modules (all except for Test actually) to modules/. His reasoning on IRC: I'm renaming stevan's modules into modules/, ext/ is for stuff tha

Re: identity tests and comparing two references

2005-04-01 Thread Thomas Sandlaß
James Mastros wrote: $x = 42; $a = \$x but false; $b = \$y but blue; Assuming you meant \$x in the last row we are dealing with three values: 42 but true 42 but false 42 but blue Which are not identical but equal. The first value is not necessarily implemented that way because the boolean value can

Re: directory re-orgs

2005-04-01 Thread Autrijus Tang
On Fri, Apr 01, 2005 at 07:00:32PM -0500, Stevan Little wrote: > First what we need: > > - a folder for working perl6 modules such as Test, FileSpec and such. Let's call it ext/. In the future we may factor them out to FreePAN. In particular, I think Pugs-Documentation still belongs to ext/. >

YAPC::NA pugs hack-a-thon planning

2005-04-01 Thread John Macdonald
I've just had an IRC discussion with Autrijus, and we've put together the following plan for the pugs hack-a-thon, to occur for 4 days immediately preceeding the Toronto YAPC::NA conference. The venue will be at my cottage, about 1 1/2 hour drive from Toronto. Autrijus will be arriving in Toronto

Re: [Fwd: a warning and a failure for parrot in Tru64]

2005-04-01 Thread Jay Scherrer
Attached is my make test output from my laptop running Fedora Core 3 x86_64bit: makeTest.txt Is there any other way I can help? Jay Scherrer On Fri, 2005-04-01 at 11:24 -0500, MrJoltCola wrote: > At 06:33 AM 4/1/2005, Nick Glencross wrote: > > >Having never had access to a Tru64 system, does tha

Re: Why a scoreboard?

2005-04-01 Thread Michael G Schwern
On Fri, Apr 01, 2005 at 03:30:44PM -0600, Andy Lester wrote: > Why is there a scoreboard? Why do we care about rankings? Why is it > necessary to compare one measure to another? What purpose is being > served? I presume you mean the CPAN scoreboard? Or maybe the Kwalitee scoreboard, it doesn't

Re: Documentary annotations: $what doc

2005-04-01 Thread Sam Vilain
Luke Palmer wrote: Supposing I had a "doc" trait, could I say: sub f2c (Num $temp doc) doc {...} Or would I be forced to spell it doc('stuff') ? Well, first you need an `is` somewhere in there. And after that I think you'll need to do it in doc('stuff') form. If we did allow doc<>,

Definitive and Complete Perl 6 Operator List

2005-04-01 Thread Andrew Savige
S03 does not seem to detail a complete list of all Perl 6 operators. For example, it explicitly mentions += but does not mention -= Googling around, I found the Perl 6 Periodic Table of Operators http://www.ozonehouse.com/mark/blog/code/PeriodicTable.html (which I assume does not form part of the

Re: Why a scoreboard?

2005-04-01 Thread Andy Lester
Another way to look at it is sometimes its useful to just play with the data, graph it in different ways and see what comes out. Maybe nothing comes out. Maybe something does. Publish the results, see what happens. I understand that, but it seems to have gone past playing data. I'm just not com

Re: directory re-orgs

2005-04-01 Thread Steven Schubiger
On 1 Apr, Stevan Little wrote: : - a folder for working perl6 modules such as Test, FileSpec and such. Out of curiosity, shouldn't that be lib? : - a folder for non-working perl6 modules such as what is in modules/ : right now I don't understand. : - a folder for perl5 modules which are need

Re: directory re-orgs

2005-04-01 Thread Steven Schubiger
On 2 Apr, Autrijus Tang wrote: : Does that sound sane? Yes; definitely more sane than my "suggestion". Steven Schubiger